Commit 557df89f authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

Merge pull request #7 from agraef/master

Corrected patch of tar_em_up.sh to add launchpad functionality
parents 6bf2f0bb eaa038f1
...@@ -15,6 +15,7 @@ then ...@@ -15,6 +15,7 @@ then
echo " -e everything" echo " -e everything"
echo " -f full installer (incremental)" echo " -f full installer (incremental)"
echo " -F full installer (complete recompile)" echo " -F full installer (complete recompile)"
echo " -n skip package creation (-bB, -fF)"
echo " -R build a Raspberry Pi deb (complete recompile)" echo " -R build a Raspberry Pi deb (complete recompile)"
echo " -r build a Raspberry Pi deb (incremental)" echo " -r build a Raspberry Pi deb (incremental)"
echo " -w install custom version of cwiid system-wide" echo " -w install custom version of cwiid system-wide"
...@@ -34,10 +35,11 @@ dev=0 ...@@ -34,10 +35,11 @@ dev=0
full=0 full=0
sys_cwiid=0 sys_cwiid=0
rpi=0 rpi=0
pkg=1
inst_dir=${inst_dir:-/usr/local} inst_dir=${inst_dir:-/usr/local}
while getopts ":abBcdefFRruw" Option while getopts ":abBcdefFnRruw" Option
do case $Option in do case $Option in
a) addon=1;; a) addon=1;;
...@@ -60,6 +62,8 @@ do case $Option in ...@@ -60,6 +62,8 @@ do case $Option in
F) full=2;; F) full=2;;
n) pkg=0;;
R) deb=2 R) deb=2
inst_dir=/usr inst_dir=/usr
rpi=1;; rpi=1;;
...@@ -309,8 +313,10 @@ cp ../../pd/src/g_all_guis.h ../../externals/build/include ...@@ -309,8 +313,10 @@ cp ../../pd/src/g_all_guis.h ../../externals/build/include
cp -f disis_spi/disis_spi-help.pd ../../packages/linux_make/build$inst_dir/lib/pd-l2ork/extra cp -f disis_spi/disis_spi-help.pd ../../packages/linux_make/build$inst_dir/lib/pd-l2ork/extra
cd ../ cd ../
#fi #fi
cd ../
if [ $pkg -gt 0 ]; then
# finish install # finish install
cd ../packages/linux_make cd packages/linux_make
echo "tar full installer..." echo "tar full installer..."
rm -f build/usr/local/lib/pd rm -f build/usr/local/lib/pd
if [ $deb -gt 0 ] if [ $deb -gt 0 ]
...@@ -332,6 +338,7 @@ cp ../../pd/src/g_all_guis.h ../../externals/build/include ...@@ -332,6 +338,7 @@ cp ../../pd/src/g_all_guis.h ../../externals/build/include
mv -f build/pd*bz2 ../../.. mv -f build/pd*bz2 ../../..
fi fi
cd ../../ cd ../../
fi
fi fi
if [ $addon -eq 1 ] if [ $addon -eq 1 ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment