summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-02-15 18:50:27 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2018-08-02 17:04:25 -0400
commite5e11117f4117a1cd5906a7cd4d014f72d2a157d (patch)
treeef3b1de9b9aac2fa8ee3cd990be9b0f37f84e6f0
parente2298143aa2dab9fe356b4e3b54e58080836c491 (diff)
downloaddevtools32-e5e11117f4117a1cd5906a7cd4d014f72d2a157d.tar.xz
mkarchroot: Use librelib rather than PATH to find arch-nspawn
-rw-r--r--mkarchroot.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkarchroot.in b/mkarchroot.in
index 52e363f..5165960 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -92,7 +92,7 @@ echo "$CHROOT_VERSION" > "$working_dir/.arch-chroot"
systemd-machine-id-setup --root="$working_dir"
-exec arch-nspawn \
+exec "$(librelib chroot/arch-nspawn)" \
${nosetarch:+-s} \
${pac_conf:+-C "$pac_conf"} \
${makepkg_conf:+-M "$makepkg_conf"} \