From 2ee930f3199a7828db823143bf14fb1d1e3bb123 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sun, 23 Nov 2014 13:40:21 +1100 Subject: [PATCH] Use `file://` and an absolute path in init-local-index. This works for me, unlike no `file://` and/or a relative path. --- script/init-local-index.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/init-local-index.sh b/script/init-local-index.sh index 33f005281de..f2e36224481 100755 --- a/script/init-local-index.sh +++ b/script/init-local-index.sh @@ -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 @@ -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 -