aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Walser <luigiwalser@mageia.org>2013-03-09 16:52:55 +0000
committerDavid Walser <luigiwalser@mageia.org>2013-03-09 16:52:55 +0000
commite71438c7fae46fe379e79458bf770573ce7b1190 (patch)
treeb352b16efa9ee0032917a29f101c7d237ec63624
parentd4494d4ff8cf001289483feeaf6f44443b89dcce (diff)
downloadcommon-data-e71438c7fae46fe379e79458bf770573ce7b1190.tar
common-data-e71438c7fae46fe379e79458bf770573ce7b1190.tar.gz
common-data-e71438c7fae46fe379e79458bf770573ce7b1190.tar.bz2
common-data-e71438c7fae46fe379e79458bf770573ce7b1190.tar.xz
common-data-e71438c7fae46fe379e79458bf770573ce7b1190.zip
quote command-line arguments in editor script
-rwxr-xr-xbin/editor2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/editor b/bin/editor
index 2d64dea..bb30a00 100755
--- a/bin/editor
+++ b/bin/editor
@@ -53,7 +53,7 @@ if [[ -z "$TEXTEDITOR" ]]; then
fi
if [[ -n "$TEXTEDITOR" ]]; then
- exec $TEXTEDITOR $@
+ exec $TEXTEDITOR "$@"
else
echo "no text editor detected"
fi