aboutsummaryrefslogtreecommitdiff
path: root/share/keyringer/git
blob: cd2a188e38b8b042709d4d1119a7e98f159ba825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#
# Git wrapper.
#

# Load functions
LIB="`dirname $0`/../../lib/keyringer/functions"
source "$LIB" || exit 1

# Aditional parameters
CWD="`pwd`"

# Run git command
shift
mkdir -p "$BASEDIR" && cd "$BASEDIR" && git $*
cd "$CWD"