summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/build/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/build/build.sh b/src/lib/build/build.sh
index ecdeaad..a5a272d 100644
--- a/src/lib/build/build.sh
+++ b/src/lib/build/build.sh
@@ -200,7 +200,7 @@ pkgctl_build() {
;;
-I|--install)
(( $# <= 1 )) && die "missing argument for %s" "$1"
- MAKECHROOT_OPTIONS+=("-I" "$2")
+ MAKECHROOT_OPTIONS+=("-I" "$(realpath "$2")")
warning 'installing packages into the chroot may break reproducible builds, use with caution!'
shift 2
;;