projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
ci: sr.ht: fix linux build tag
[awesomized/libmemcached]
/
.builds
/
scripts
/
notify-gitter
diff --git
a/.builds/scripts/notify-gitter
b/.builds/scripts/notify-gitter
index cac46b7598a0f6797ffc8ad1f169f6cbd40e0eb0..cee859b75d858e1e09cad347af5987a29cbef1bf 100755
(executable)
--- a/
.builds/scripts/notify-gitter
+++ b/
.builds/scripts/notify-gitter
@@
-12,7
+12,7
@@
BUILD_URL=${JOB_URL}
BUILD_TAG=$(uname -o 2>/dev/null || uname -s)
if expr match "$BUILD_TAG" ".*Linux" >/dev/null
then
BUILD_TAG=$(uname -o 2>/dev/null || uname -s)
if expr match "$BUILD_TAG" ".*Linux" >/dev/null
then
- BUILD_TAG=$(
lsb_release -irs
)
+ 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
fi
BUILD_CXX=$(c++ --version | head -1)
if expr match "${BUILD_CXX}" "${BUILD_TAG}" >/dev/null