Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
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