You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
253 B
Plaintext
12 lines
253 B
Plaintext
2 years ago
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
# check whether we can locate the vcs binary
|
||
|
if [ -n "$VCS" ] && command -v "$VCS" > /dev/null; then
|
||
|
# pass commands to the VCS application
|
||
|
$VCS "$@"
|
||
|
else
|
||
|
echo "error: VCS ($VCS) not set or not in PATH" >&2
|
||
|
exit 1
|
||
|
fi
|