index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Antonio Rojas <arojas@archlinux.org> | 2023-10-13 20:13:31 +0000 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-10-14 00:00:52 +0200 |
commit | 5cbe9ad61296c91251299bcb0f32aa2e0b3dd5ea (patch) | |
tree | 2189731a62b40e15c98677f13eae4e0edd14e521 /src | |
parent | 6f106e7cd6c19d8666d25676afc8dcc5975d124b (diff) |
-rw-r--r-- | src/lib/build/build.sh | 6 |
diff --git a/src/lib/build/build.sh b/src/lib/build/build.sh index d6b530d..bf6339a 100644 --- a/src/lib/build/build.sh +++ b/src/lib/build/build.sh @@ -200,7 +200,11 @@ pkgctl_build() { ;; -I|--install) (( $# <= 1 )) && die "missing argument for %s" "$1" - MAKECHROOT_OPTIONS+=("-I" "$(realpath "$2")") + if (( OFFLOAD )); then + MAKECHROOT_OPTIONS+=("-I" "$2") + else + MAKECHROOT_OPTIONS+=("-I" "$(realpath "$2")") + fi warning 'installing packages into the chroot may break reproducible builds, use with caution!' shift 2 ;; |