diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-12-05 13:12:55 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-12-05 13:12:55 +0800 |
commit | 73d91ac621a4e59f71ff6664c68c935317f9ce42 (patch) | |
tree | 4f9b341370b83d97379a1343a69d13d48cb65740 /chapter08/gawk.xml | |
parent | 6b6a1b958af3a0e59559e44ad700f761d8a49a09 (diff) | |
parent | dc8572f2413a4d25444bb1237ea2a01dfba60429 (diff) |
Merge remote-tracking branch 'origin/trunk' into xry111/arm64
Diffstat (limited to 'chapter08/gawk.xml')
-rw-r--r-- | chapter08/gawk.xml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chapter08/gawk.xml b/chapter08/gawk.xml index cc9348d90..d8984b58e 100644 --- a/chapter08/gawk.xml +++ b/chapter08/gawk.xml @@ -59,15 +59,18 @@ su tester -c "PATH=$PATH make check"</userinput></screen> <para>Install the package:</para> -<screen><userinput remap="install">make LN='ln -f' install</userinput></screen> +<screen><userinput remap="install">rm -f /usr/bin/gawk-&gawk-version; +make install</userinput></screen> <variablelist> - <title>The meaning of the overridden make variable:</title> + <title>The meaning of the command:</title> <varlistentry> - <term><envar>LN='ln -f'</envar></term> + <term><command>rm -f /usr/bin/gawk-&gawk-version;</command></term> <listitem> - <para>This variable ensures that the previous hard link installed + <para>The building system will not recreate the hard link + <filename>gawk-&gawk-version;</filename> if it already exists. + Remove it to ensure that the previous hard link installed in <xref linkend='ch-tools-gawk'/> is updated here.</para> </listitem> </varlistentry> |