diff options
Diffstat (limited to 'share/hackvr/examples/chess')
-rwxr-xr-x | share/hackvr/examples/chess/board.sh | 2 | ||||
-rwxr-xr-x | share/hackvr/examples/chess/run | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/share/hackvr/examples/chess/board.sh b/share/hackvr/examples/chess/board.sh index 96b1b85..dc3fb3b 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 e=$1 #elevation of board width=8 diff --git a/share/hackvr/examples/chess/run b/share/hackvr/examples/chess/run index 5a0941b..1168044 100755 --- a/share/hackvr/examples/chess/run +++ b/share/hackvr/examples/chess/run @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash export elevation=0 mknod p p stdbuf -oL cat camera.pos <(./board.sh $elevation) <(cat p | ./gnuchess-to-hackvr.sh $elevation) | hackvr "$USER" | ./hackvr-to-gnuchess.sh | gnuchess -x > p |