tazlito diff tazlito @ rev 56
misc small fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 20 11:51:53 2008 +0000 (2008-03-20) |
parents | 27b81776952d |
children | 39f9c11ad467 |
line diff
1.1 --- a/tazlito Thu Mar 13 20:46:51 2008 +0000 1.2 +++ b/tazlito Thu Mar 20 11:51:53 2008 +0000 1.3 @@ -219,7 +219,7 @@ 1.4 # Set date for boot msg. 1.5 if grep -q 'XXXXXXXX' $ROOTCD/boot/isolinux/isolinux.msg; then 1.6 DATE=`date +%Y%m%d` 1.7 - echo -n "Setting build date to: $dATE..." 1.8 + echo -n "Setting build date to: $DATE..." 1.9 sed -i s/'XXXXXXXX'/"$DATE"/ $ROOTCD/boot/isolinux/isolinux.msg 1.10 status 1.11 fi 1.12 @@ -246,6 +246,8 @@ 1.13 # Gen a new initramfs from the root file system. 1.14 gen_initramfs() 1.15 { 1.16 + # Just in case CTRL+c 1.17 + rm -f $DISTRO/gen 1.18 # Some packages may want to alter rootfs 1.19 genisohooks rootfs 1.20 cd $ROOTFS 1.21 @@ -805,6 +807,7 @@ 1.22 fi 1.23 echo -n "Removing eventual ISO image..." 1.24 rm -f $DISTRO/$ISO_NAME.iso 1.25 + rm -f $DISTRO/$ISO_NAME.md5 1.26 status 1.27 fi 1.28 echo "================================================================================"