summaryrefslogtreecommitdiffstats
path: root/mkarchroot.in
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-10-14 09:55:28 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-10-14 09:55:28 +0200
commitf10d88e029e3b2523c5ab069a9deaf061fb8fd65 (patch)
tree382bc48984a872fe9585fd8620d8d939550d8bab /mkarchroot.in
parent5c6c2d532e3ee8d5e09c57372f4b32df2dccd490 (diff)
downloaddevtools-f10d88e029e3b2523c5ab069a9deaf061fb8fd65.tar.gz
devtools-f10d88e029e3b2523c5ab069a9deaf061fb8fd65.tar.xz
Call locale-gen with full path in chroot environment
Thanks to Peter Schuller for this hint
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 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