Mercurial > hg > beaglert
comparison scripts/build_pd_heavy.sh @ 447:86591d203c78 prerelease
Updated scripts to use "." instead of source, for sh compatibility
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sun, 19 Jun 2016 16:33:05 +0100 |
parents | 2b09be3fb0f2 |
children | d9a4fc5357e7 |
comparison
equal
deleted
inserted
replaced
446:566bb80c2d14 | 447:86591d203c78 |
---|---|
19 RUN_PROJECT=1 | 19 RUN_PROJECT=1 |
20 RUN_IN_FOREGROUND=0 | 20 RUN_IN_FOREGROUND=0 |
21 RUN_WITHOUT_SCREEN=1 | 21 RUN_WITHOUT_SCREEN=1 |
22 BELA_PYTHON27= | 22 BELA_PYTHON27= |
23 | 23 |
24 source .bela_common || exit 1 | 24 . ./.bela_common || exit 1 |
25 | |
25 if [ -z "$BELA_PYTHON27" ]; then | 26 if [ -z "$BELA_PYTHON27" ]; then |
26 for PY in python python2.7 ; do | 27 for PY in python python2.7 ; do |
27 python --version 2>&1 | grep "2\.7" >/dev/null 2>&1 | 28 python --version 2>&1 | grep "2\.7" >/dev/null 2>&1 |
28 if [ $? -eq 0 ]; then | 29 if [ $? -eq 0 ]; then |
29 BELA_PYTHON27=$PY | 30 BELA_PYTHON27=$PY |