summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-01-24 18:27:36 +0900
committerSlávek Banko <slavek.banko@axis.cz>2019-01-24 15:01:47 +0100
commit29511f81dba82ffc9d30c99bef1939887b3e6ee4 (patch)
tree76007d5d3dde16ad708a3e23edc1f5c710c313fa
parentda4ed2567640be372dda75104aa23927a91d3867 (diff)
downloadtqca-tls-29511f81dba82ffc9d30c99bef1939887b3e6ee4.tar.gz
tqca-tls-29511f81dba82ffc9d30c99bef1939887b3e6ee4.zip
Fix portability for expr(1) usager14.0.6
"match" operand for expr(1) is GNU extension. Change to use the standard way to match regex with expr(1). (cherry picked from commit 8b1ffe85f3059b67020ecef3e086baf6592517d9)
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 7a6fcfe..9db67f4 100755
--- a/configure
+++ b/configure
@@ -576,7 +576,7 @@ if [ -x "./qcextra" ]; then
./qcextra
fi
# run tqmake
-if expr match "$DEB_BUILD_OPTIONS" ".*nostrip"; then
+if expr "$DEB_BUILD_OPTIONS" : ".*nostrip"; then
$qm QMAKE_STRIP=true qca-tls.pro
else
$qm qca-tls.pro