mirror of
https://github.com/debauchee/barrier.git
synced 2025-06-03 03:11:40 +02:00
Revert "Tidy up and fix lint errors in build scripts"
This commit is contained in:
parent
58f6c735ff
commit
70a4ece9e8
2 changed files with 14 additions and 40 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue