aboutsummaryrefslogtreecommitdiff
path: root/libexec/build-fetch-git
diff options
context:
space:
mode:
authorMark Ferrell <major@homeonderanged.org>2014-04-09 09:20:22 -0700
committerMark Ferrell <major@homeonderanged.org>2014-04-09 09:20:22 -0700
commitb91e26c9061dadeb909e992d2afdb483c189c8fa (patch)
tree4f1e41a1a8d489f455d825ed53cfc2df66cb96de /libexec/build-fetch-git
parentae9b586387ddde3173763d0c708223a6bb15801d (diff)
Add build-url
* Removed URL parsing out of build-make-fetch and into its own command.
Diffstat (limited to 'libexec/build-fetch-git')
-rwxr-xr-xlibexec/build-fetch-git4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/build-fetch-git b/libexec/build-fetch-git
index 9ecfcc7..e8cd5ec 100755
--- a/libexec/build-fetch-git
+++ b/libexec/build-fetch-git
@@ -2,12 +2,12 @@
build_fetch_git()
{
- build_fetch_git_uri="$(build-make-fetch --uri "${1}")"
+ build_fetch_git_uri="$(build-url --base "${1}")"
build_fetch_git_uri="${build_fetch_git_uri#git://}"
build_fetch_git_uri="${build_fetch_git_uri%%\?*}"
build_fetch_git_tag=
build_fetch_git_var=
- for arg in $(build-make-fetch --args "${1}"); do
+ for arg in $(build-url --arg "${1}"); do
case "${arg}" in
(archive=*) build_fetch_git_var="${arg##*=}";;
(*) build_fetch_git_tag="${arg}";;