Modified ./release to make the correct launcher file
This commit is contained in:
parent
48e53926f1
commit
48c79e78dc
12
src/release
12
src/release
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
DIR=ocarina-1.0
|
DIR=ocarina-2.1
|
||||||
SCION=/opt/scion/
|
SCION=/opt/scion/
|
||||||
|
|
||||||
#sh ./clean
|
#sh ./clean
|
||||||
|
@ -10,11 +10,19 @@ cp -r extra $DIR
|
||||||
cp -r $SCION/base $DIR
|
cp -r $SCION/base $DIR
|
||||||
cp -r $SCION/core $DIR
|
cp -r $SCION/core $DIR
|
||||||
cp -r $SCION/extra $DIR
|
cp -r $SCION/extra $DIR
|
||||||
cp ocarina clean.sh $DIR
|
#cp ocarina.release $DIR/ocarina
|
||||||
|
cp clean.sh $DIR
|
||||||
|
|
||||||
cd $DIR
|
cd $DIR
|
||||||
sh ./clean.sh
|
sh ./clean.sh
|
||||||
rm 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 ..
|
cd ..
|
||||||
|
|
||||||
tar -cvf $DIR.tar.gz $DIR
|
tar -cvf $DIR.tar.gz $DIR
|
||||||
|
|
Loading…
Reference in New Issue