ci: sr.ht: fix gitter notify
[m6w6/libmemcached] / .builds / scripts / notify-gitter
index c5f1f2bd8c7fb5005bb438201600d80a2b6f36a9..7be63d08f30b22f3aeebe4296105ef0b76189188 100755 (executable)
@@ -9,7 +9,7 @@ REF=$(GIT_DIR=libmemcached/.git git describe --abbrev --always)
 REF_URL=https://github.com/${REPO}/commits/${REF}
 
 BUILD_URL=${JOB_URL}
-BUILD_TAG=$(uname -o)
+BUILD_TAG=$(uname -o 2>/dev/null || uname -s)
 if test "$BUILD_TAG" = "GNU/Linux"
 then
        BUILD_TAG=$(lsb_release -irs)