Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-02-15 18:39:40 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2017-02-15 18:39:40 -0500
commitc8300c3ff1afc667aa53f1782846902752687357 (patch)
treeaf940beb28c4392aa072e5e74452234414e43444
parent428cf5f1f8718f0abc2a9410677222889b9c8470 (diff)
makechrootpkg: move_products: Mimic `makepkg` and symlink products into PWD.
-rw-r--r--makechrootpkg.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index d40bb88..878c663 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -427,6 +427,9 @@ move_products() {
for pkgfile in "$copydir"/pkgdest/*; do
chown "$src_owner" "$pkgfile"
mv "$pkgfile" "$PKGDEST"
+ if [[ $PKGDEST != $PWD ]]; then
+ ln -sf "$PKGDEST/${pkgfile##*/}" .
+ fi
done
local l