diff --git a/CI/build-macos.sh b/CI/build-macos.sh index a0faea7c..b9a0f549 100755 --- a/CI/build-macos.sh +++ b/CI/build-macos.sh @@ -10,7 +10,7 @@ fi HAS_CMAKE=$(type cmake 2>/dev/null) HAS_GIT=$(type git 2>/dev/null) -if [[ "${HAS_CMAKE}" == "" ]]; then +if [ "${HAS_CMAKE}" = "" ]; then echo "[obs-websocket - Error] CMake not installed - please run 'install-dependencies-macos.sh' first." exit 1 fi diff --git a/CI/install-build-obs-macos.sh b/CI/install-build-obs-macos.sh index d044bb2b..291f1a45 100755 --- a/CI/install-build-obs-macos.sh +++ b/CI/install-build-obs-macos.sh @@ -10,12 +10,12 @@ fi HAS_CMAKE=$(type cmake 2>/dev/null) HAS_GIT=$(type git 2>/dev/null) -if [ "${HAS_CMAKE}" == "" ]; then +if [ "${HAS_CMAKE}" = "" ]; then echo "[obs-websocket - Error] CMake not installed - please run 'install-dependencies-macos.sh' first." exit 1 fi -if [ "${HAS_GIT}" == "" ]; then +if [ "${HAS_GIT}" = "" ]; then echo "[obs-websocket - Error] Git not installed - please install Xcode developer tools or via Homebrew." exit 1 fi diff --git a/CI/install-dependencies-macos.sh b/CI/install-dependencies-macos.sh index ea5277a8..e94a3b4d 100755 --- a/CI/install-dependencies-macos.sh +++ b/CI/install-dependencies-macos.sh @@ -9,7 +9,7 @@ fi HAS_BREW=$(type brew 2>/dev/null) -if [[ "${HAS_BREW}" == "" ]]; then +if [ "${HAS_BREW}" = "" ]; then echo "[obs-websocket - Error] Please install Homebrew (https://www.brew.sh/) to build obs-websocket on macOS." exit 1 fi