Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.inc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.inc.sh b/package.inc.sh
index 961e39b..f01374b 100644
--- a/package.inc.sh
+++ b/package.inc.sh
@@ -155,7 +155,7 @@ package_export() {
log_info 'exporting %s:%s' "$pkgname" "$subtree"
git archive --format=tar "remotes/$remote/packages/$pkgname" "$subtree/" |
- bsdtar -C "$startdir" -s ",^$subtree/,$pkgname/," -xf - "$subtree/"
+ tar -C "$startdir" --transform "s,^$subtree,$pkgname," -xf - "$subtree/"
}
package_checkout() {