summaryrefslogtreecommitdiff
path: root/bin/hackvr
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2022-08-17 21:34:02 -0500
committerepoch <epoch@thebackupbox.net>2022-08-17 21:34:02 -0500
commit6492ba6b4107a4da228e18db4fc5fc871bfb0579 (patch)
tree11301c4e20d9a1448337e73b62a16ab1bfeba457 /bin/hackvr
parent49d54d7582bdcbdcff5637e72e9f29bb5cc571bd (diff)
downloadhackvr-master.tar.gz
hackvr-master.zip
updated README to show that everything that got deleted went to an -extras repo. also, hackvr script updated to be better bashHEADmaster
Diffstat (limited to 'bin/hackvr')
-rwxr-xr-xbin/hackvr11
1 files changed, 6 insertions, 5 deletions
diff --git a/bin/hackvr b/bin/hackvr
index 1c9d16c..bb0185e 100755
--- a/bin/hackvr
+++ b/bin/hackvr
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/usr/bin/env bash
+set -eo pipefail
if [ "_$HACKVR" != "_" -a "_$HACKVR" != "_$0" ];then
- exec $HACKVR $*
+ exec "$HACKVR" "$@"
fi
-if [ $DISPLAY ]; then
- exec hackvr_x11 $*
+if [ "$DISPLAY" ]; then
+ exec hackvr_x11 "$@"
else
- exec hackvr_fb $*
+ exec hackvr_fb "$@"
fi