changeset 419:572c19289025

Fix cleanup to zap alt-packages properly, and have setupfor set window title bar to the stage name and package name it's building.
author Rob Landley <rob@landley.net>
date Mon, 27 Oct 2008 03:54:05 -0500
parents 8815c541d779
children 3ec2fa866280
files include.sh
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/include.sh	Sun Oct 26 18:23:54 2008 -0500
+++ b/include.sh	Mon Oct 27 03:54:05 2008 -0500
@@ -123,7 +123,8 @@
 
   for i in "$@"
   do
-    unstable "$i" && i=alt-"$PACKAGE"
+    unstable "$i" && i="$PACKAGE"
+    echo "cleanup $i"
     rm -rf "$i" || dienow
  done
 }
@@ -396,4 +397,7 @@
     mkdir -p "$2" && cd "$2" || dienow
   fi
   export WRAPPY_LOGPATH="$WRAPPY_LOGDIR/cmdlines.${STAGE_NAME}.$1"
+
+  # Change window title bar to package now
+  echo -en "\033]2;Building $STAGE_NAME $1\007"
 }