More POSIX sh fixes.

This commit is contained in:
PatTheMav 2018-10-24 15:14:50 +02:00
parent 9df72f54d5
commit 2a80a6b217
No known key found for this signature in database
GPG Key ID: F8BCC3052CE91D29
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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