diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-02-15 18:39:40 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-04-20 00:23:50 -0400 |
commit | b056a7d20252ffb20a3c7bb92aaf6c31855ab841 (patch) | |
tree | a4d6dd0e7f66fb06ce43a3d17ce0d5d0acf4958c | |
parent | 86a56039866bf42fb4304cc19b0b29e496ae1338 (diff) | |
download | devtools32-b056a7d20252ffb20a3c7bb92aaf6c31855ab841.tar.xz |
makechrootpkg: move_products: Mimic `makepkg` and symlink products into PWD.
-rw-r--r-- | makechrootpkg.in | 2 |
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 |