index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-02-15 18:39:40 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-02-15 18:39:40 -0500 |
commit | c8300c3ff1afc667aa53f1782846902752687357 (patch) | |
tree | af940beb28c4392aa072e5e74452234414e43444 /makechrootpkg.in | |
parent | 428cf5f1f8718f0abc2a9410677222889b9c8470 (diff) |
-rw-r--r-- | makechrootpkg.in | 3 |
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 |