aboutsummaryrefslogtreecommitdiff
path: root/share/keyringer/git
diff options
context:
space:
mode:
Diffstat (limited to 'share/keyringer/git')
-rwxr-xr-xshare/keyringer/git6
1 files changed, 1 insertions, 5 deletions
diff --git a/share/keyringer/git b/share/keyringer/git
index 76437ac..b453a8f 100755
--- a/share/keyringer/git
+++ b/share/keyringer/git
@@ -11,11 +11,7 @@ keyringer_set_env $*
# Aditional parameters
CWD="`pwd`"
-if [ -z "$BASEDIR" ]; then
- echo "Usage: keyringer <keyringer> `basename $0` [arguments]"
- exit 1
-fi
-
+# Run git command
shift
mkdir -p $BASEDIR && cd $BASEDIR && git $*
cd $CWD