From 299f13b751b438f5935f69af47faf546c7f01093 Mon Sep 17 00:00:00 2001 From: epoch Date: Mon, 24 Feb 2020 05:09:31 -0600 Subject: fixed an unquoted variable because was too lazy to type them before --- share/hackvr/examples/dungen/dunexplore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/hackvr/examples') 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 -- cgit v1.2.3