summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-09-12 10:21:03 -0400
committerDave Reisner <dreisner@archlinux.org>2014-09-12 10:23:42 -0400
commit2362217ce1ad69f6a16151a6c749a7efcc12d9d6 (patch)
tree6c6869b61e2b87ca0aff075d1fce56c112c77124
parentaaf7a6bda56c046f10016ab8324012e10bdd3385 (diff)
downloadasp32-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.sh3
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() {