aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/systemd.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2022-02-05 17:51:34 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2022-02-05 20:37:44 +0800
commit69c4524b6df4f5ac7b87e868afe55569b61752a8 (patch)
treecd215fcbd064ca7baacfcaa689048a5d6b546a7e /chapter08/systemd.xml
parente954006b160330eba233e34a8ae7629853aa0f3d (diff)
systemd: remove unneeded LANG=en_US.UTF-8 settings
They were added because ninja had printed warnings about "non UTF-8 locale". Current version of ninja no longer does this.
Diffstat (limited to 'chapter08/systemd.xml')
-rw-r--r--chapter08/systemd.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index be7cb4e8b..94696ea97 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -58,7 +58,6 @@
<screen><userinput remap="configure">mkdir -p build
cd build
-LANG=en_US.UTF-8 \
meson --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -173,11 +172,11 @@ meson --prefix=/usr \
<para>Compile the package:</para>
-<screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
+<screen><userinput remap="make">ninja</userinput></screen>
<para>Install the package:</para>
-<screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
+<screen><userinput remap="install">ninja install</userinput></screen>
<para>Install the man pages:</para>