aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/go_input.sh
diff options
context:
space:
mode:
authorGravatar Ben Boeckel <MathStuf@gmail.com>2011-03-10 19:54:44 -0500
committerGravatar Ben Boeckel <MathStuf@gmail.com>2011-03-10 21:10:41 -0500
commit06c29bbd5d1ad0542d8de4a6661bd8366d9c56d5 (patch)
tree33ed8ecbff72b73a99711f24e6fa6e785d7587cd /examples/data/scripts/go_input.sh
parentbfbd8eaf428b8cf04c88cc7acdcf9230c82120b4 (diff)
Quote variables which may contain spaces
Diffstat (limited to 'examples/data/scripts/go_input.sh')
-rwxr-xr-xexamples/data/scripts/go_input.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/data/scripts/go_input.sh b/examples/data/scripts/go_input.sh
index ace0e79..a09c604 100755
--- a/examples/data/scripts/go_input.sh
+++ b/examples/data/scripts/go_input.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-case $(echo 'script @scripts_dir/go_input.js' | socat - unix-connect:"$UZBL_SOCKET") in
+case "$(echo 'script @scripts_dir/go_input.js' | socat - "unix-connect:$UZBL_SOCKET")" in
*XXXEMIT_FORM_ACTIVEXXX*) echo 'event FORM_ACTIVE' > "$UZBL_FIFO" ;;
esac