Merge pull request #405 from andersk/shell

run: Fix shell scripting bugs
This commit is contained in:
Samuel Mannehed 2019-09-26 08:42:17 +02:00 committed by GitHub
commit 4ecff119c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

9
run
View File

@ -1,7 +1,4 @@
#!/usr/bin/env sh
BASE_DIR="$(cd $(dirname "$0"); pwd)"
cd "$BASE_DIR"
python -m websockify $@
set -e
cd "$(dirname "$0")"
exec python -m websockify "$@"