Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't trust cd -

  • Loading branch information...
commit 8cd1ab2317e188fbd4514e2e863bf5bd209a9ff6 1 parent 0cd06b4
Jeff Lindsay authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gitreceive
2  gitreceive
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.