[blfs] branch trunk updated: Wget: Use ' instead of " for variable definition.
| Newsgroups | gmane.linux.lfs.beyond.book |
|---|---|
| Message-ID | <177880420647.6180.17558381266907218260@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository blfs.
The following commit(s) were added to refs/heads/trunk by this push:
new baa1a26448 Wget: Use ' instead of " for variable definition.
baa1a26448 is described below
commit baa1a26448674971c5f639f2351315c0b673b71f
Author: Zeckmathederg <[email protected]>
AuthorDate: Thu May 14 18:18:20 2026 -0600
Wget: Use ' instead of " for variable definition.
When putting !defined in a variable, like so:
VAR="!defined"
Bash will say it's an unknown event. This made the variable definitions
necessary for the OpenSSL-4 fix broken. However, if ' is used intead of
" for the variable definitions, !defined is treated as literal instead
of a term, so !defined will go into the variable as-is instead of being
interpreted. The sed command can still use ", but the variable
definitions must use '. Backslashes don't work either, as \ will make it
into the variable content.
---
networking/netprogs/wget.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/networking/netprogs/wget.xml b/networking/netprogs/wget.xml
index 010cdad675..5d212ae4e5 100644
--- a/networking/netprogs/wget.xml
+++ b/networking/netprogs/wget.xml
@@ -99,8 +99,8 @@
bash variable is for presentation purposes due to the long line.
</para>
-<screen><userinput>NEW_LINE="#if !defined OPENSSL_NO_SSL3_METHOD "
-NEW_LINE+="&& OPENSSL_VERSION_NUMBER < 0x40000000L"
+<screen><userinput>NEW_LINE='#if !defined OPENSSL_NO_SSL3_METHOD '
+NEW_LINE+='&& OPENSSL_VERSION_NUMBER < 0x40000000L'
sed -i "/SSL3/c $NEW_LINE" src/openssl.c
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page