diff options
author | Joey Hess <joey@kitenet.net> | 2010-07-16 15:17:58 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-07-16 15:17:58 -0400 |
commit | f5be6c8c780bc16fba9f58372ea4a1d209d05bde (patch) | |
tree | ccedafa1c216bb3cdaff7a746e1813e8013d0e7a | |
parent | 8a9ce39ad8790b946a7e81151d52b76a85e3923c (diff) | |
parent | 65eda73020e0aa6bf15e64106dae955bf17a41dd (diff) |
Merge remote branch 'wertarbyte/cmd_vcs'
-rwxr-xr-x | vcs.d/30vcs-cmd | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vcs.d/30vcs-cmd b/vcs.d/30vcs-cmd new file mode 100755 index 0000000..074523d --- /dev/null +++ b/vcs.d/30vcs-cmd @@ -0,0 +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 $@ +fi |