index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2014-08-06 20:11:16 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-08-06 20:11:16 -0400 |
commit | 8b77c671b4596f3674ba1da53ae66fabf95ab296 (patch) | |
tree | fd80fc2f42d5c003bde1a3ef5f301c3134e9eade | |
parent | 0049934875f9cc4a7a40482767d3afb64bc5df8a (diff) |
-rw-r--r-- | package.inc.sh | 4 |
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/" } |