From 09dadf11241ff7bf8c653a9ea8c4a68ca758ba31 Mon Sep 17 00:00:00 2001 From: Carl N Baldwin Date: Wed, 2 Nov 2005 11:13:30 -0700 Subject: [PATCH] Some clean-up --- scripts/burn-imgs.sh | 2 +- scripts/pack-image.sh | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/burn-imgs.sh b/scripts/burn-imgs.sh index a382d50..0870b0d 100755 --- a/scripts/burn-imgs.sh +++ b/scripts/burn-imgs.sh @@ -65,7 +65,7 @@ date >> $img.stat cat $img.stat echo cat $logfile -} | mailx -s "DVD burned. File as ${img%.*}" $mailto > $logfile 2>&1 +} | mailx -s "DVD burned. File as $(basename ${img%.*})" $mailto > $logfile 2>&1 # Two lines in the stat file indicate two successful burns. Clean-up the image. if [ "$(wc -l $img.stat 2>/dev/null | awk '{print$1}')" == "2" ]; then diff --git a/scripts/pack-image.sh b/scripts/pack-image.sh index 89c9c0e..327d374 100755 --- a/scripts/pack-image.sh +++ b/scripts/pack-image.sh @@ -14,9 +14,6 @@ restorescript="$scriptsdir/restore.sh" echo "Creating directories" mkdir --mode=700 -p $datadir $imagedir $isomountdir $tmpdir -chgrp backup $imagedir -chmod g+s $imagedir -chmod g+w $imagedir echo "Creating the iso image in $isoimage" dd if=/dev/null of=$isoimage bs=1M count=0 seek=4440 -- 2.34.1