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-19 14:21:30 -0500 |
commit | b1409a73a7531947a5a418d01e1f9b46af59e538 (patch) | |
tree | a9b68873f60cd7dcbd0f11951adaaf03c55e1fe6 /makechrootpkg.in | |
parent | 8ee94a8ff1be0a0247521d6cc2a5a5b1bdc1b78f (diff) |
-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 |