summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-01-24 18:27:36 +0900
committerOBATA Akio <obache@wizdas.com>2019-01-24 18:27:36 +0900
commit8b1ffe85f3059b67020ecef3e086baf6592517d9 (patch)
tree9dac61f911737c0f1c0f044bef0c1df7b4021d0d
parentc80676841c4fce124383a7b0cf3a85af7ea6f2d2 (diff)
downloadtqca-tls-8b1ffe85.tar.gz
tqca-tls-8b1ffe85.zip
Fix portability for expr(1) usage
"match" operand for expr(1) is GNU extension. Change to use the standard way to match regex with expr(1).
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a94beaf..94a38fe 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