scripts/release_helper.sh: also remove leftover directories from grml-live.build...
[grml-live.git] / scripts / release_helper.sh
index 5da252c..b5cd99d 100755 (executable)
@@ -69,7 +69,7 @@ grml-live (${GRML_LIVE_VERSION}~autobuild${UNIXTIME}) UNRELEASED; urgency=low
 
     $(git log --format=oneline -1)
 
 -- grml-live Auto Build <grml-live-git@$(hostname)>  $DATE
+ -- grml-live Auto Build <grml-live-git@$(hostname)>  $DATE
 
 EOF
   git add debian/changelog
@@ -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 $*