From c45f918c635ea6f8d947f5e7bb7f646656c89b30 Mon Sep 17 00:00:00 2001 From: epoch Date: Wed, 6 Feb 2019 01:20:43 -0600 Subject: changed the shebang from /bin/bash to /usr/bin/env bash on a lot of the examples. --- share/hackvr/examples/tictactoe/game.sh | 4 ++-- share/hackvr/examples/tictactoe/run | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'share/hackvr/examples/tictactoe') 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 -- cgit v1.2.3