generate.sh
changeset 1 dbce0b16b0c1
parent 0 8e044e762a6c
child 2 7dddb5fb1595
--- a/generate.sh	Tue Jun 23 09:18:34 2009 -0400
+++ b/generate.sh	Tue Jun 23 09:51:01 2009 -0400
@@ -59,7 +59,10 @@
   exit 1
 fi
 
-printf "Pulling latest code..."
+printf "Compacting self-extraction script..."
+sed -f compact-shellscript.sed self-extract-src.sh > self-extract.sh || fail "Failed to generate compacted self-extract script"
+
+printf "\nPulling latest code..."
 hg -R $REPO archive -r $REVISION -t tgz enano-$VERSION.tar.gz || fail "Could not pull revision $REVISION from Mercurial repo"
 printf "\nExtracting..."
 tar xzCf `dirname $0`/stage enano-$VERSION.tar.gz || fail "Could not extract tarball"