diff options
author | voc <git@mazdermind.de> | 2016-03-14 20:40:01 +0100 |
---|---|---|
committer | voc <git@mazdermind.de> | 2016-03-14 20:40:01 +0100 |
commit | b31a60da9c503d1bcd3122ba9e5f5557be853cfb (patch) | |
tree | 7c7e82389a916807b799ca028f0142df8a8221be /example-scripts | |
parent | b242c52adf5e4141702669f2b922397e9caef577 (diff) |
add shebang to cycle-script and immunize against cwd
Diffstat (limited to 'example-scripts')
-rwxr-xr-x | example-scripts/control-server/demo-cycle-modes.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/example-scripts/control-server/demo-cycle-modes.sh b/example-scripts/control-server/demo-cycle-modes.sh index b626b28..7440cf1 100755 --- a/example-scripts/control-server/demo-cycle-modes.sh +++ b/example-scripts/control-server/demo-cycle-modes.sh @@ -1,3 +1,6 @@ +#!/bin/bash +cd "$(dirname ${BASH_SOURCE[0]})" + while true; do sleep 10 echo "composite-picture-in-picture" |