[lfs] branch openrc updated: OpenRC: Delete set -u instead of removing DESTDIR var.

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <176539483059.326.3205957933610097479@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch openrc
in repository lfs.

The following commit(s) were added to refs/heads/openrc by this push:
     new 195485122 OpenRC: Delete set -u instead of removing DESTDIR var.
195485122 is described below

commit 1954851224d3e907fceea277a41661aecfc4b441
Author: Zeckmathederg <[email protected]>
AuthorDate: Wed Dec 10 12:28:40 2025 -0700

    OpenRC: Delete set -u instead of removing DESTDIR var.
---
 chapter08/openrc.xml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/chapter08/openrc.xml b/chapter08/openrc.xml
index 9ed08aeac..4bba8582a 100644
--- a/chapter08/openrc.xml
+++ b/chapter08/openrc.xml
@@ -41,10 +41,9 @@
   <sect2 role="installation">
     <title>Installation of OpenRC</title>
 
-    <para>If you won't be doing a DESTDIR installation, fix one of the scripts
-    that prohibit a normal installation:</para>
+    <para>Fix a script to allow a normal installation:</para>
 
-<screen remap="pre"><userinput>sed -i 's/\${DESTDIR}\///g' tools/meson_final.sh</userinput></screen>
+<screen remap="pre"><userinput>sed -i '/set\ -u/d' tools/meson_final.sh</userinput></screen>
 
     <para>Prepare OpenRC for compilation:</para>
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.