release: fix for rm -rf

. new rm can return failure exit code
This commit is contained in:
Ben Gras 2012-02-11 15:48:12 +01:00
parent f6c5d09978
commit f94e915e33

View file

@ -170,7 +170,7 @@ then echo " * Cleanup old files"
umount $RELEASEMNTDIR || true
fi
rm -rf $RELEASEDIR $RELEASEMNTDIR $IMG $ROOTIMAGE $CDFILES image*
rm -rf $RELEASEDIR $RELEASEMNTDIR $IMG $ROOTIMAGE $CDFILES image* || true
mkdir -p $CDFILES || exit
mkdir -p $RELEASEDIR $RELEASEMNTDIR
mkdir -m 755 $RELEASEDIR/usr