Skip to content

Commit

Permalink
don't trust cd -
Browse files Browse the repository at this point in the history
  • Loading branch information
progrium committed Jan 1, 2013
1 parent 0cd06b4 commit 8cd1ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitreceive
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8cd1ab2

Please sign in to comment.