projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
2cf3e55
)
ci: expr's match operator is not portable
author
Michael Wallner
<mike@php.net>
Sun, 27 Dec 2020 12:46:12 +0000
(13:46 +0100)
committer
Michael Wallner
<mike@php.net>
Sun, 27 Dec 2020 12:46:12 +0000
(13:46 +0100)
.builds/scripts/notify-gitter
patch
|
blob
|
history
diff --git
a/.builds/scripts/notify-gitter
b/.builds/scripts/notify-gitter
index cee859b75d858e1e09cad347af5987a29cbef1bf..05124544b029f6c8c961b5d64cba1314486cde65 100755
(executable)
--- a/
.builds/scripts/notify-gitter
+++ b/
.builds/scripts/notify-gitter
@@
-10,12
+10,12
@@
REF_URL=https://github.com/${REPO}/commits/${REF}
BUILD_URL=${JOB_URL}
BUILD_TAG=$(uname -o 2>/dev/null || uname -s)
-if expr
match "$BUILD_TAG"
".*Linux" >/dev/null
+if expr
"$BUILD_TAG" :
".*Linux" >/dev/null
then
BUILD_TAG=$(source /etc/os-release; echo $PRETTY_NAME)
fi
BUILD_CXX=$(c++ --version | head -1)
-if expr
match "${BUILD_CXX}"
"${BUILD_TAG}" >/dev/null
+if expr
"${BUILD_CXX}" :
"${BUILD_TAG}" >/dev/null
then
BUILD_ENV="${BUILD_CXX}"
else