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).
pull/1/head
OBATA Akio 1 year 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
./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


Loading…
Cancel
Save