blob: b8df304d9264cba8139f2edecc631c18fa7a2af0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
#
# Git wrapper.
#
BASEDIR="$1"
CWD="`pwd`"
if [ -z "$BASEDIR" ]; then
echo "Usage: keyringer `basename $0` [arguments]"
exit 1
fi
shift
mkdir -p $BASEDIR && cd $BASEDIR && git $*
cd $CWD
|