Skip to content

Commit 52fb2f5

Browse files
committed
Reminder that brink.sh has to run first.
1 parent ff4b90c commit 52fb2f5

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

chevah_build

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,13 @@ BUILD_FOLDER='build'
112112
. ./functions.sh
113113

114114
# Import build environment variables found through "detect_os" command option.
115-
. ./BUILD_ENV_VARS
115+
if [ -f ./BUILD_ENV_VARS ]; then
116+
. ./BUILD_ENV_VARS
117+
else
118+
(>&2 echo "Missing BUILD_ENV_VARS file!")
119+
echo "Run './brink.sh detect_os' first, as per the README file..."
120+
exit 100
121+
fi
116122

117123
# List of OS packages required for building Python/pyOpenSSL/cryptography etc.
118124
# Lately we don't install anything automatically, we just check for the

0 commit comments

Comments
 (0)