mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix regex to set GIT_REPO_BASE, reported by Bill Meeks
This commit is contained in:
parent
3300003191
commit
0a75e428d9
@ -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"}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user