Skip to content

Commit 0a21234

Browse files
committed
Add double quotes around argument to exec
To handle directories with spaces.
1 parent 165fe91 commit 0a21234

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/promtimer

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
22

3-
export PROMTIMER_DIR="$(dirname "$0")/.."
4-
exec $PROMTIMER_DIR/promtimer/promtimer.py $@
3+
PROMTIMER_DIR="$(dirname "$0")/.."
4+
export PROMTIMER_DIR
5+
exec "$PROMTIMER_DIR/promtimer/promtimer.py" $@

0 commit comments

Comments
 (0)