diff options
| author | epoch <epoch@hacking.allowed.org> | 2019-02-06 01:20:43 -0600 | 
|---|---|---|
| committer | epoch <epoch@hacking.allowed.org> | 2019-02-06 01:20:43 -0600 | 
| commit | c45f918c635ea6f8d947f5e7bb7f646656c89b30 (patch) | |
| tree | d4a2faf10a09779dfbbefe6e68a47cc663e803ac /share/hackvr/examples/tictactoe | |
| parent | bf16b7b8593d4013adbd03838af5a2fb3bce34ee (diff) | |
| download | hackvr-c45f918c635ea6f8d947f5e7bb7f646656c89b30.tar.gz hackvr-c45f918c635ea6f8d947f5e7bb7f646656c89b30.zip | |
changed the shebang from /bin/bash to /usr/bin/env bash on a lot of the examples.
Diffstat (limited to 'share/hackvr/examples/tictactoe')
| -rwxr-xr-x | share/hackvr/examples/tictactoe/game.sh | 4 | ||||
| -rwxr-xr-x | share/hackvr/examples/tictactoe/run | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/share/hackvr/examples/tictactoe/game.sh b/share/hackvr/examples/tictactoe/game.sh index 63776f4..8c741fc 100755 --- a/share/hackvr/examples/tictactoe/game.sh +++ b/share/hackvr/examples/tictactoe/game.sh @@ -1,6 +1,6 @@ -#!/bin/bash +#!/usr/bin/env bash  turn=$( expr $RANDOM % 2) -cat camera.pos | sed 's/^junk/$USER/g' +cat camera.pos  echo "go. player: $turn" >&2  stdbuf -oL uniq \    | grep --line-buffered action \ diff --git a/share/hackvr/examples/tictactoe/run b/share/hackvr/examples/tictactoe/run index c60fc43..0f14b8f 100755 --- a/share/hackvr/examples/tictactoe/run +++ b/share/hackvr/examples/tictactoe/run @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash  turn=$( expr $RANDOM % 2)  echo "go. player: $turn"  mknod p p | 
