index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2017-03-25 07:49:44 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2017-03-25 08:08:37 -0400 |
commit | a64b7c9d69b93afce95e8e706f159176a24f6333 (patch) | |
tree | 2b6179554895669cfc587fa530771079955d1963 | |
parent | 5684b04011b5a7584c214a5efa1f3a9ddabaf9f1 (diff) |
-rw-r--r-- | package.inc.sh | 6 |
diff --git a/package.inc.sh b/package.inc.sh index 7c34f23..a415415 100644 --- a/package.inc.sh +++ b/package.inc.sh @@ -16,12 +16,12 @@ package_init() { } package_find_remote() { - local pkgname=$1 out=$2 + local pkgname=$1 # fastpath, checks local caches only for r in "${ARCH_GIT_REPOS[@]}"; do if remote_is_tracking "$r" "$pkgname"; then - printf -v "$out" %s "$r" + printf -v "$2" %s "$r" return 0 fi done @@ -29,7 +29,7 @@ package_find_remote() { # slowpath, needs to talk to the remote for r in "${ARCH_GIT_REPOS[@]}"; do if remote_has_package "$r" "$pkgname"; then - printf -v "$out" %s "$r" + printf -v "$2" %s "$r" return 0 fi done |