Modified ./release to make the correct launcher file

This commit is contained in:
bjschuma 2010-02-13 16:42:30 -05:00
parent 48e53926f1
commit 48c79e78dc
1 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
DIR=ocarina-1.0
DIR=ocarina-2.1
SCION=/opt/scion/
#sh ./clean
@ -10,11 +10,19 @@ cp -r extra $DIR
cp -r $SCION/base $DIR
cp -r $SCION/core $DIR
cp -r $SCION/extra $DIR
cp ocarina clean.sh $DIR
#cp ocarina.release $DIR/ocarina
cp clean.sh $DIR
cd $DIR
sh ./clean.sh
rm clean.sh
echo "#!/bin/bash" > ocarina
echo "CORE=\`pwd\`/\`dirname \$0\`\"/core\"" >> ocarina
echo "EXTRA=\`pwd\`/\`dirname \$0\`\"/extra\"" >> ocarina
echo "cd base && \`which python\` scion.py -p \$CORE -p \$EXTRA \$*" >> ocarina
chmod +x ocarina
cd ..
tar -cvf $DIR.tar.gz $DIR