diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-23 14:18:13 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-23 14:18:27 -0200 |
commit | 0a75e428d9e1bb7655ff74c6de89a858e423fdea (patch) | |
tree | ce907c3bbfbbdd73a9d6051c7a96a61cbbc265c4 | |
parent | 330000319147a1399d28856bf024f43ec640a521 (diff) | |
download | pfsense-0a75e428d9e1bb7655ff74c6de89a858e423fdea.zip pfsense-0a75e428d9e1bb7655ff74c6de89a858e423fdea.tar.gz |
Fix regex to set GIT_REPO_BASE, reported by Bill Meeks
-rw-r--r-- | tools/builder_defaults.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/builder_defaults.sh b/tools/builder_defaults.sh index a443813..438e300 100644 --- a/tools/builder_defaults.sh +++ b/tools/builder_defaults.sh @@ -133,7 +133,7 @@ else export GIT_REPO_BRANCH_OR_TAG="${_cur_git_repo_branch_or_tag}" fi -GIT_REPO_BASE=$(git -C ${BUILDER_ROOT} config --get remote.origin.url | sed 's,/[^/]*,,') +GIT_REPO_BASE=$(git -C ${BUILDER_ROOT} config --get remote.origin.url | sed -e 's,/[^/]*$,,') # This is used for using svn for retrieving src export FREEBSD_REPO_BASE=${FREEBSD_REPO_BASE:-"${GIT_REPO_BASE}/freebsd-src.git"} |