summaryrefslogtreecommitdiff
path: root/vcs.d
diff options
context:
space:
mode:
Diffstat (limited to 'vcs.d')
-rwxr-xr-xvcs.d/50vcs-cmd8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcs.d/50vcs-cmd b/vcs.d/50vcs-cmd
index 074523d..f515abb 100755
--- a/vcs.d/50vcs-cmd
+++ b/vcs.d/50vcs-cmd
@@ -1,11 +1,11 @@
#!/bin/sh
set -e
-IFS='
-'
-
# check whether we can locate the vcs binary
if [ -n "$VCS" ] && which "$VCS" > /dev/null; then
# pass commands to the VCS application
- $VCS $@
+ $VCS "$@"
+else
+ echo "error: VCS ($VCS) not set or not in PATH" >&2
+ exit 1
fi