Browse Source

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).
master
OBATA Akio 4 months ago
parent
commit
8b1ffe85f3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      configure

+ 1
- 1
configure View File

@@ -576,7 +576,7 @@ if [ -x "./qcextra" ]; then
576 576
 	./qcextra
577 577
 fi
578 578
 # run tqmake
579
-if expr match "$DEB_BUILD_OPTIONS" ".*nostrip"; then
579
+if expr "$DEB_BUILD_OPTIONS" : ".*nostrip"; then
580 580
 	$qm QMAKE_STRIP=true qca-tls.pro
581 581
 else
582 582
 	$qm qca-tls.pro

Loading…
Cancel
Save