Skip to content

Commit

Permalink
Don't require a .git suffix for the master repository name (JuliaLa…
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett authored and StefanKarpinski committed Jul 25, 2016
1 parent aa7acff commit 278fc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/version_git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [ "$#" = "2" -a "$2" = "NO_GIT" ]; then
exit 0
fi
# Collect temporary variables
origin=$(git config -l 2>/dev/null | grep 'remote\.\w*\.url.*JuliaLang/julia.git' | sed -n 's/remote\.\([a-zA-Z]*\)\..*/\1\//p')
origin=$(git config -l 2>/dev/null | grep 'remote\.\w*\.url.*JuliaLang/julia' | sed -n 's/remote\.\([a-zA-Z]*\)\..*/\1\//p')
if [ -z "$origin" ]; then
origin="origin/"
fi
Expand Down

0 comments on commit 278fc02

Please sign in to comment.