diff options
Diffstat (limited to 'makechrootpkg.in')
-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 |