Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-02-15 18:39:40 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2017-04-20 00:23:50 -0400
commitb056a7d20252ffb20a3c7bb92aaf6c31855ab841 (patch)
treea4d6dd0e7f66fb06ce43a3d17ce0d5d0acf4958c /makechrootpkg.in
parent86a56039866bf42fb4304cc19b0b29e496ae1338 (diff)
makechrootpkg: move_products: Mimic `makepkg` and symlink products into PWD.
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index c0aee24..633d617 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -306,7 +306,7 @@ move_products() {
mv "$pkgfile" "$PKGDEST"
# Fix broken symlink because of temporary chroot PKGDEST /pkgdest
- if [[ "$PWD" != "$PKGDEST" && -L "$PWD/${pkgfile##*/}" ]]; then
+ if [[ "$PWD" != "$PKGDEST" ]]; then
ln -sf "$PKGDEST/${pkgfile##*/}"
fi
done