summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hackvr/examples/dungen/dunexplore.sh2
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