diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-10 18:04:23 -0400 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-10 18:04:23 -0400 |
| commit | 757bfb7a62105eebe37aa846f9fd0cbea4a4187c (patch) | |
| tree | e41c33094c8ea0661e89872fef25908a0b095347 /boot/boot.sh | |
| parent | 8233bd3e1ded9edf607df142c9b13f302f957def (diff) | |
| parent | 6357df0b1f0e3fd51162a040e69636fb7567f039 (diff) | |
| download | jasper-client-757bfb7a62105eebe37aa846f9fd0cbea4a4187c.tar.gz jasper-client-757bfb7a62105eebe37aa846f9fd0cbea4a4187c.zip | |
Merge branch 'Holzhaus-pure-python'
Conflicts:
boot/boot.py
boot/boot.sh
client/main.py
client/start.sh
Diffstat (limited to 'boot/boot.sh')
| -rwxr-xr-x | boot/boot.sh | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/boot/boot.sh b/boot/boot.sh index f4e577d..9fc8af8 100755 --- a/boot/boot.sh +++ b/boot/boot.sh @@ -1,17 +1,4 @@ #!/bin/bash -if [[ -z "$JASPER_HOME" ]]; then - if [[ -d "/home/pi" ]]; then - JASPER_HOME="/home/pi" - export JASPER_HOME; - else - echo "Error: \$JASPER_HOME is not set." - exit 0; - fi -fi - -cd $JASPER_HOME/jasper/boot -LD_LIBRARY_PATH="/usr/local/lib" -export LD_LIBRARY_PATH -PATH=$PATH:/usr/local/lib/ -export PATH -./boot.py & +# This file exists for backwards compatibility with older versions of Jasper. +# It might be removed in future versions. +"${0%/*}/boot.py" |
