summaryrefslogtreecommitdiff
path: root/mkarchroot.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-02-15 18:50:27 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2017-07-05 15:37:19 -0400
commit439574a0ff87f9b5e9b070a1028fa3d8461e6f55 (patch)
treefd91453252c4f372011ae36cf3c525c2a2c93a41 /mkarchroot.in
parentb56e515bead46f854be12947c3e2341679e1c067 (diff)
downloaddevtools32-439574a0ff87f9b5e9b070a1028fa3d8461e6f55.tar.xz
mkarchroot: Use librelib rather than PATH to find arch-nspawn.
Diffstat (limited to 'mkarchroot.in')
-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"} \