From b056a7d20252ffb20a3c7bb92aaf6c31855ab841 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 15 Feb 2017 18:39:40 -0500 Subject: makechrootpkg: move_products: Mimic `makepkg` and symlink products into PWD. --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2