diff options
| author | Samuel Mannehed <samuel@cendio.se> | 2019-09-26 08:42:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-26 08:42:17 +0200 |
| commit | 4ecff119c41c0cdeca8196ebbbdf4d95ed41aa3e (patch) | |
| tree | 3cbe02e43bca0ee6eccc1177ef328d0e379f081c | |
| parent | 654cbac77ea07819ed3bcf1ce6410be0211c0f1a (diff) | |
| parent | 5052f823d74241d099688c3a8ceb0de57541e968 (diff) | |
| download | websockify-4ecff119c41c0cdeca8196ebbbdf4d95ed41aa3e.tar.gz | |
Merge pull request #405 from andersk/shell
run: Fix shell scripting bugs
| -rwxr-xr-x | run | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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 "$@" |
