From: Ben Gras Date: Sat, 11 Feb 2012 14:48:12 +0000 (+0100) Subject: release: fix for rm -rf X-Git-Tag: v3.2.0~42 X-Git-Url: http://zhaoyanbai.com/repos/rndc.html?a=commitdiff_plain;h=f94e915e3315d9b190012569cb6300d2272d8b9d;p=minix.git release: fix for rm -rf . new rm can return failure exit code --- diff --git a/tools/release.sh b/tools/release.sh index ff3b013f1..a87bdfb6b 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -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