diff options
author | epoch <epoch@thebackupbox.net> | 2022-08-17 21:34:02 -0500 |
---|---|---|
committer | epoch <epoch@thebackupbox.net> | 2022-08-17 21:34:02 -0500 |
commit | 6492ba6b4107a4da228e18db4fc5fc871bfb0579 (patch) | |
tree | 11301c4e20d9a1448337e73b62a16ab1bfeba457 /bin/hackvr | |
parent | 49d54d7582bdcbdcff5637e72e9f29bb5cc571bd (diff) | |
download | hackvr-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-x | bin/hackvr | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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 |