# When the client wants us to receive a pack, create the git
# repository if it does not exist yet
if [ "`basename $0`" = "git-receive-pack" -a ! -e "$DIR" ]; then
# When the client wants us to receive a pack, create the git
# repository if it does not exist yet
if [ "`basename $0`" = "git-receive-pack" -a ! -e "$DIR" ]; then