|
Author: eliot
Date: 2011-07-29 17:26:10 -0700 (Fri, 29 Jul 2011)
New Revision: 2479
Modified:
branches/Cog/scripts/mkvmarchives
Log:
ditto. but edit the run scripts also
Modified: branches/Cog/scripts/mkvmarchives
===================================================================
--- branches/Cog/scripts/mkvmarchives 2011-07-30 00:11:58 UTC (rev 2478)
+++ branches/Cog/scripts/mkvmarchives 2011-07-30 00:26:10 UTC (rev 2479)
@@ -90,10 +90,18 @@
EXES="$EXES cogmtwin/Croquet.exe"
fi
if [ -n "$NL" ]; then
- LIBDIR=nsvmlinux/lib/squeak/[0-9.-]*
- test -f nsvmlinux/squeak && mv nsvmlinux/squeak nsvmlinux/nsvm
- test -f nsvmlinux/bin/squeak && mv nsvmlinux/bin/squeak nsvmlinux/bin/nsvm
+ if [ -f nsvmlinux/squeak ]; then
+ mv nsvmlinux/squeak nsvmlinux/nsvm
+ ex "+g/squeak/s/squeak/nsvm/g" +w +q nsvmlinux/nsvm
+ fi
+ if [ -f nsvmlinux/bin/squeak ]; then
+ mv nsvmlinux/bin/squeak nsvmlinux/bin/nsvm
+ ex "+g/squeak/s/squeak/nsvm/g" +w +q nsvmlinux/bin/nsvm
+ fi
+ test -d nsvmlinux/lib/squeak && mv nsvmlinux/lib/squeak nsvmlinux/lib/nsvm
+ LIBDIR="`echo nsvmlinux/lib/nsvm/[0-9.-]*`"
test -f $LIBDIR/squeak && mv $LIBDIR/squeak $LIBDIR/nsvm
+
rm -rf nsvmlinux.tgz
COPYFILE_DISABLE=1 tar czf nsvmlinux.tgz nsvmlinux
EXES="$EXES $LIBDIR/nsvm"
|