summaryrefslogtreecommitdiff
path: root/package.inc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package.inc.sh')
-rw-r--r--package.inc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.inc.sh b/package.inc.sh
index 63b968a..1456baf 100644
--- a/package.inc.sh
+++ b/package.inc.sh
@@ -72,7 +72,7 @@ package_export() {
subtree=trunk
fi
- if [[ -z $(git ls-tree "$remote/packages/$pkgname" "$subtree/") ]]; then
+ if [[ -z $(git ls-tree "remotes/$remote/packages/$pkgname" "$subtree/") ]]; then
if [[ $repo ]]; then
log_error "package '%s' not found in repo '%s-%s'" "$pkgname" "$repo" "$OPT_ARCH"
return 1
@@ -87,7 +87,7 @@ package_export() {
fi
log_info 'exporting %s:%s' "$pkgname" "$subtree"
- git archive --format=tar "$remote/packages/$pkgname" "$subtree/" |
+ git archive --format=tar "remotes/$remote/packages/$pkgname" "$subtree/" |
bsdtar -C "$startdir" -s ",^$subtree/,$pkgname/," -xf - "$subtree/"
}