summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-02-15 18:50:27 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2017-04-20 00:23:50 -0400
commit460252f7eabb23457d208896557a3b2ebae8ea1c (patch)
tree9555ee4650171b7665d02d7638c778bfe93b6467
parent7e20eadffc0945d0469cb94f6fc24229c65ea1e1 (diff)
downloaddevtools-lukeshu/to-upstream/never-20170420.tar.xz
mkarchroot: Use librelib rather than PATH to find arch-nspawn.lukeshu/to-upstream/never-20170420
-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"} \