diff options
-rw-r--r-- | makechrootpkg.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in index d40bb88..878c663 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -427,6 +427,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 |