index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | makechrootpkg.in | 3 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 3c80fb7..416d598 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -388,6 +388,9 @@ move_products() { for pkgfile in "$copydir"/pkgdest/*; do chown "$src_owner" "$pkgfile" mv "$pkgfile" "$PKGDEST" + if [[ $PKGDEST != $PWD ]]; then + ln -sf "$PKGDEST/${pkgfile##*/}" . + fi done local l |