aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-03-02 14:58:06 +0000
committerNicolas Vigier <boklm@mageia.org>2013-03-02 14:58:06 +0000
commite42e2ad2249a4c6a7787379f04bdc24e95c784a5 (patch)
tree8749a8e99b9da3e0e7954f8af2cc86615519befa /bin
parente560659237275e08f9abfec800d804bd4040f1e9 (diff)
downloadcommon-data-e42e2ad2249a4c6a7787379f04bdc24e95c784a5.tar
common-data-e42e2ad2249a4c6a7787379f04bdc24e95c784a5.tar.gz
common-data-e42e2ad2249a4c6a7787379f04bdc24e95c784a5.tar.bz2
common-data-e42e2ad2249a4c6a7787379f04bdc24e95c784a5.tar.xz
common-data-e42e2ad2249a4c6a7787379f04bdc24e95c784a5.zip
bin/editor: quote arguments
Diffstat (limited to 'bin')
-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