--- create_bootstrap.sh 2008-08-29 00:06:34.000000000 -0500
+++ /tmp/bootstrap/create_bootstrap.sh  2009-01-27 20:35:25.000000000 -0600
@@ -34,7 +34,7 @@
 fi

 echo "Path to Erts: $ERTS_PATH"
-ERTS_VSN=$(basename $ERTS_PATH | sed 's/erts-//')
+ERTS_VSN=`basename $ERTS_PATH | sed 's/erts-//'`

 if [ "$ERTS_VSN" != "$TARGET_ERTS_VSN" ];then
  echo "Erts version must be $TARGET_ERTS_VSN. You supplied $ERTS_VSN."
@@ -44,22 +44,22 @@
 mkdir erlware
 cd erlware
 cp ../bootstrap.tar.gz .
-tar -zxf bootstrap.tar.gz
+gzip -dc bootstrap.tar.gz | tar xf -
 rm bootstrap.tar.gz
 INSTALLED_ERTS_PATH="./packages/$ERTS_VSN/erts-$ERTS_VSN"
 cp -r $ERTS_PATH $INSTALLED_ERTS_PATH; or_exit $? "erts copy failed"
 rm $INSTALLED_ERTS_PATH/bin/dialyzer
 rm $INSTALLED_ERTS_PATH/bin/erl
-tar -zcf contents.tar.gz *
+tar cf - * | gzip -c9 > contents.tar.gz
 mv contents.tar.gz ..
-cd -
+cd ..

 rm -rf erlware

-MACHINE=$(uname -m | sed 's/ /-/')
-KERNEL=$(uname -s | sed 's/ /-/')
+MACHINE=`uname -m | sed 's/ /-/'`
+KERNEL=`uname -s | sed 's/ /-/'`

-KERNEL_VSN=$(uname -r | sed -e 's;-.*;;')
+KERNEL_VSN=`uname -r | sed -e 's;-.*;;'`
 
FILENAME=faxien-launcher-$MACHINE-$KERNEL-$KERNEL_VSN-$CURRENT_BOOTSTRAPPER_VSN.sh

 cat header.txt > $FILENAME

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlware-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/erlware-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to