summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/chess
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/chess')
-rwxr-xr-xshare/hackvr/examples/chess/board.sh2
-rwxr-xr-xshare/hackvr/examples/chess/run2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/hackvr/examples/chess/board.sh b/share/hackvr/examples/chess/board.sh
index f574065..5848c98 100755
--- a/share/hackvr/examples/chess/board.sh
+++ b/share/hackvr/examples/chess/board.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
width=8
height=8
diff --git a/share/hackvr/examples/chess/run b/share/hackvr/examples/chess/run
index 4f0cdce..0fdfdf3 100755
--- a/share/hackvr/examples/chess/run
+++ b/share/hackvr/examples/chess/run
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
mknod p p
stdbuf -oL cat camera.pos <(./board.sh) <(cat p | ./gnuchess-to-hackvr.sh) | hackvr "$USER" | ./hackvr-to-gnuchess.sh | gnuchess -x > p
rm p