8 lines
310 B
Bash
8 lines
310 B
Bash
#!/bin/sh
|
|
set -eu
|
|
here=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
export PYTHONHOME="$here/dsview"
|
|
export PYTHONDONTWRITEBYTECODE=1
|
|
export SETPROTOCOL_LIBRARY="$here/dsview/lib/libsetprotocol.so"
|
|
exec "$here/dsview/lib/ld-linux-armhf.so.3" --library-path "$here/dsview/lib" "$here/scope-decode-arm.elf" "$@"
|