Skip to content

Commit

Permalink
Merge pull request #66 from huonw/init-script
Browse files Browse the repository at this point in the history
Use `file://` and an absolute path in init-local-index.
  • Loading branch information
alexcrichton committed Nov 23, 2014
2 parents 6de5334 + 2ee930f commit 68b01d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions script/init-local-index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cat > config.json <<-EOF
EOF
git add config.json
git commit -qm 'Initial commit'
git remote add origin ../index-bare
git remote add origin file://`pwd`/../index-bare
git push -q origin master -u > /dev/null
cd ../..
touch tmp/index-co/.git/git-daemon-export-ok
Expand All @@ -37,4 +37,3 @@ Please add the following to your HOME/.cargo/config:
You will also need to generate a token from in the app itself
EOF

0 comments on commit 68b01d6

Please sign in to comment.