summaryrefslogtreecommitdiff
path: root/net-misc/wget/files/wget-1.21-avoid_bashisms.patch
blob: 478621ecb5944a86f33e6993524427dfea84bfee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From a9092887e0e98877a205e9052930692f35fb179e Mon Sep 17 00:00:00 2001
From: Matt Whitlock <gentoo@mattwhitlock.name>
Date: Sat, 2 Jan 2021 16:27:57 +0100
Subject: [PATCH] configure.ac: Don't use bashisms

Gentoo-bug: https://bugs.gentoo.org/762946
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 96adf13b..f6268fd5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -978,7 +978,7 @@ AM_CONDITIONAL([IRI_IS_ENABLED], [test "X$iri" != "Xno"])
 AM_CONDITIONAL([WITH_SSL], [test "X$with_ssl" != "Xno"])
 AM_CONDITIONAL([METALINK_IS_ENABLED], [test "X$with_metalink" != "Xno"])
 AM_CONDITIONAL([WITH_XATTR], [test "X$ENABLE_XATTR" != "Xno"])
-AM_CONDITIONAL([WITH_NTLM], [test "X$ENABLE_NTLM" == "Xyes"])
+AM_CONDITIONAL([WITH_NTLM], [test "X$ENABLE_NTLM" = "Xyes"])
 
 dnl
 dnl Create output
-- 
2.30.0