Skip to content

Commit 4ecff11

Browse files
authored
Merge pull request #405 from andersk/shell
run: Fix shell scripting bugs
2 parents 654cbac + 5052f82 commit 4ecff11

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

run

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
#!/usr/bin/env sh
2-
3-
BASE_DIR="$(cd $(dirname "$0"); pwd)"
4-
5-
cd "$BASE_DIR"
6-
7-
python -m websockify $@
2+
set -e
3+
cd "$(dirname "$0")"
4+
exec python -m websockify "$@"

0 commit comments

Comments
 (0)