diff options
author | epoch <epoch@hacking.allowed.org> | 2020-02-24 05:09:31 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-02-24 05:09:31 -0600 |
commit | 299f13b751b438f5935f69af47faf546c7f01093 (patch) | |
tree | 9c27a210d8dd58cb5a85c8d383071c67113adad7 /share/hackvr/examples | |
parent | 34cceb3c31af84f00e28cbc5c0ddbefccfb54084 (diff) | |
download | hackvr-299f13b751b438f5935f69af47faf546c7f01093.tar.gz hackvr-299f13b751b438f5935f69af47faf546c7f01093.zip |
fixed an unquoted variable because was too lazy to type them before
Diffstat (limited to 'share/hackvr/examples')
-rwxr-xr-x | share/hackvr/examples/dungen/dunexplore.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hackvr/examples/dungen/dunexplore.sh b/share/hackvr/examples/dungen/dunexplore.sh index 0fdbc5a..b85ea84 100755 --- a/share/hackvr/examples/dungen/dunexplore.sh +++ b/share/hackvr/examples/dungen/dunexplore.sh @@ -5,7 +5,7 @@ echo $USER addshape 4 3 -1 0 -1 0 0 2 1 0 -1 ; echo $USER move 0 2 0 ./dungen $seed | ./dun2hackvr while read group action target;do - if [ $action = "action" ];then + if [ "$action" = "action" ];then if printf "%s\n" "${target}" | grep ^door_;then printf "# clicked a door! %s\n" "${target}" >&2 if printf "%s\n" "${target}" | grep ^door_open;then |