diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-09-12 10:21:03 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-09-12 10:23:42 -0400 |
commit | 2362217ce1ad69f6a16151a6c749a7efcc12d9d6 (patch) | |
tree | 6c6869b61e2b87ca0aff075d1fce56c112c77124 | |
parent | aaf7a6bda56c046f10016ab8324012e10bdd3385 (diff) | |
download | asp32-2362217ce1ad69f6a16151a6c749a7efcc12d9d6.tar.xz |
pass proper refname to remote_update_refs
refnames need the packages/ prefix, not just the package name. Caused by
2f04d93b37172e5.
Fixes GH#6.
-rw-r--r-- | package.inc.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.inc.sh b/package.inc.sh index 4646c19..60f11bf 100644 --- a/package.inc.sh +++ b/package.inc.sh @@ -12,7 +12,8 @@ package_init() { (( do_update )) || return 0 - remote_is_tracking "${!2}" "$pkgname" || remote_update_refs "${!2}" "$pkgname" + remote_is_tracking "${!2}" "$pkgname" || + remote_update_refs "${!2}" "packages/$pkgname" } package_find_remote() { |