Permalink
Browse files

don't trust cd -

  • Loading branch information...
1 parent 0cd06b4 commit 8cd1ab2317e188fbd4514e2e863bf5bd209a9ff6 @progrium committed Jan 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gitreceive
View
2 gitreceive
@@ -47,8 +47,8 @@ EOF
mkdir -p $REPO_PATH
cd $REPO_PATH
git init --bare
- cd -
fi
+ cd $GITHOME
PRERECEIVE_HOOK="$REPO_PATH/hooks/pre-receive"
cat > $PRERECEIVE_HOOK <<EOF
#!/bin/bash

0 comments on commit 8cd1ab2

Please sign in to comment.