index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-05-28 23:30:29 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-01-22 09:38:31 +1000 |
commit | 9c817b654996249b8022e189ee7e2692f4668431 (patch) | |
tree | a1473a326760a261a671dfd7af354be1e7f1a451 /scripts/libmakepkg/source/git.sh.in | |
parent | ac0e21a6df65c3770920be39b3fe14d8b49f637b (diff) |
-rw-r--r-- | scripts/libmakepkg/source/git.sh.in | 5 |
diff --git a/scripts/libmakepkg/source/git.sh.in b/scripts/libmakepkg/source/git.sh.in index 130c11e1..497a668c 100644 --- a/scripts/libmakepkg/source/git.sh.in +++ b/scripts/libmakepkg/source/git.sh.in @@ -29,6 +29,11 @@ source "$LIBRARY/util/pkgbuild.sh" download_git() { + # abort early if parent says not to fetch + if declare -p get_vcs > /dev/null 2>&1; then + (( get_vcs )) || return + fi + local netfile=$1 local dir=$(get_filepath "$netfile") |