summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mkarchroot.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkarchroot.in b/mkarchroot.in
index 8e74c54..0debb13 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -221,7 +221,7 @@ else
if [ -e "${working_dir}/etc/locale.gen" ]; then
sed -i 's@^#\(en_US\|de_DE\)\(\.UTF-8\)@\1\2@' "${working_dir}/etc/locale.gen"
- chroot "${working_dir}" locale-gen
+ chroot "${working_dir}" /usr/sbin/locale-gen
fi
if [ ! -e "${working_dir}/.arch-chroot" ]; then