From f94e915e3315d9b190012569cb6300d2272d8b9d Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Sat, 11 Feb 2012 15:48:12 +0100 Subject: [PATCH] release: fix for rm -rf . new rm can return failure exit code --- tools/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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