summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-02-15 18:50:27 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2017-05-12 19:42:31 -0400
commit3a7edf091da1e9ef158500c8a07b73ce64750bcc (patch)
tree430d6d13d17f269b5aefaafa30eb373e3134dab1
parent775776e6a2a78ec11680fabee8d6bfbbf7bbc677 (diff)
downloaddevtools32-3a7edf091da1e9ef158500c8a07b73ce64750bcc.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"} \