diff options
Diffstat (limited to 'libexec/build-fetch-git')
-rwxr-xr-x | libexec/build-fetch-git | 4 |
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}";; |