scripts/release_helper.sh: also remove leftover directories from grml-live.build...
authorMichael Prokop <mika@grml.org>
Fri, 18 Mar 2011 12:31:37 +0000 (13:31 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 18 Mar 2011 12:31:37 +0000 (13:31 +0100)
scripts/release_helper.sh

index c418e7f..b5cd99d 100755 (executable)
@@ -120,7 +120,7 @@ fi
 printf "Building debian packages:\n"
 if [ -n "${AUTOBUILD:-}" ] ; then
   [ -d ../grml-live.build-area ] || mkdir ../grml-live.build-area
-  rm -f ../grml-live.build-area/grml-live* # otherwise we're keeping files forever...
+  rm -rf ../grml-live.build-area/grml-live* # otherwise we're keeping files forever...
   git-buildpackage --git-ignore-branch --git-ignore-new --git-export-dir=../grml-live.build-area -us -uc
 else
   git-buildpackage --git-ignore-branch --git-ignore-new $*