From ef75ca36c90d802e1fa00b657a3257fcbf00cb44 Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Wed, 24 Oct 2018 14:59:12 +0200 Subject: [PATCH] Added missing OS check in packaging script --- CI/package-macos.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CI/package-macos.sh b/CI/package-macos.sh index 304ca0d6..63a634bf 100755 --- a/CI/package-macos.sh +++ b/CI/package-macos.sh @@ -2,6 +2,11 @@ set -e +if [[ "${OSTYPE}" != "darwin"* ]]; then + echo "[obs-websocket - Error] macOS build script can be run on Darwin-type OS only." + return 1 +fi + echo "[obs-websocket] Preparing package build" export QT_CELLAR_PREFIX="$(/usr/bin/find /usr/local/Cellar/qt -d 1 | sort -t '.' -k 1,1n -k 2,2n -k 3,3n | tail -n 1)"