Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2010-06-08 09:01:24 (GMT)
committer Michael Stone <michael@laptop.org>2010-06-12 20:42:16 (GMT)
commitc4b15c70fb6426af6e147666986a131736b01f78 (patch)
tree27c630cad4c835f1c29f2386ba3739722a5bfa73
parent41c8749de89fe19a846a64b11d43c05b1e3d9bae (diff)
Quote arguments in rainbow-easy
Without this, special characters in parameters (e.g. spaces) will be interpreted by the shell.
-rwxr-xr-xrainbow/bin/rainbow-easy2
1 files changed, 1 insertions, 1 deletions
diff --git a/rainbow/bin/rainbow-easy b/rainbow/bin/rainbow-easy
index a3c5147..b5a5c34 100755
--- a/rainbow/bin/rainbow-easy
+++ b/rainbow/bin/rainbow-easy
@@ -23,4 +23,4 @@ for kv in env:
EOF`
fi
-exec rainbow-run -s /var/spool/rainbow/2 -u "$SUDO_USER" -c "`pwd`" -f 0 -f 1 -f 2 -i "${SUDO_USER}_${ID}" -E "DISPLAY=$DISPLAY" -E "XAUTHORITY=${XAUTHORITY:-${HOME}/.Xauthority}" -a /usr/bin/rainbow-xify -o audio -o network -- $@
+exec rainbow-run -s /var/spool/rainbow/2 -u "$SUDO_USER" -c "`pwd`" -f 0 -f 1 -f 2 -i "${SUDO_USER}_${ID}" -E "DISPLAY=$DISPLAY" -E "XAUTHORITY=${XAUTHORITY:-${HOME}/.Xauthority}" -a /usr/bin/rainbow-xify -o audio -o network -- "$@"