Revert "Tidy up and fix lint errors in build scripts"

This commit is contained in:
Adrian Lucrèce Céleste 2019-08-22 17:03:18 -04:00 committed by GitHub
parent 58f6c735ff
commit 70a4ece9e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 40 deletions

View file

@ -1,7 +1,5 @@
#!/bin/bash
set +eu
# Checks if directory exists, otherwise asks to install package.
function check_dir_exists() {
local path=$1
@ -13,7 +11,7 @@ function check_dir_exists() {
fi
}
if [ ! "$BARRIER_BUILD_ENV" ]; then
if [ ! $BARRIER_BUILD_ENV ]; then
check_dir_exists '/Applications/Xcode.app' 'Xcode'
printf "Modifying environment for Barrier build...\n"