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).

(cherry picked from commit 8b1ffe85f3)
r14.0.x r14.0.6
OBATA Akio 5 years ago committed by Slávek Banko
parent da4ed25676
commit 29511f81db
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

2
configure vendored

@ -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