Skip to content

Commit

Permalink
BaseURL uses default value
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn Bow committed Jan 4, 2016
1 parent 00bb088 commit 1c8ffb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config-mirror.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ case `uname` in
exit -1
esac

BASEURL=`git remote -v | grep fetch | grep origin | cut -f 2 | cut -f 1 -d "/"`
#BASEURL=`git remote -v | grep fetch | grep origin | cut -f 2 | cut -f 1 -d "/"`
BASEURL=${BASEURL:-"[email protected]:central"}

GITREPO=${GITREPO:-$BASEURL"/manifest.git"}
Expand Down
2 changes: 1 addition & 1 deletion config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ case `uname` in
exit -1
esac

BASEURL=`git remote -v | grep fetch | grep origin | cut -f 2 | cut -f 1 -d "/"`
#BASEURL=`git remote -v | grep fetch | grep origin | cut -f 2 | cut -f 1 -d "/"`
BASEURL=${BASEURL:-"[email protected]:central"}

GITREPO=${GITREPO:-$BASEURL"/manifest.git"}
Expand Down

0 comments on commit 1c8ffb3

Please sign in to comment.