Skip to content

Commit

Permalink
make-binaries: Fix check for environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
weiss committed Jul 23, 2023
1 parent 92e9a41 commit c06b9af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/make-binaries
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ else
targets="$*"
fi

if [ "$build_native" = 'false' ] && [ -n "${INSTALL_DIR_FOR_OTP:+x}" ]
if [ "$build_native" = 'false' ] && [ -z "${INSTALL_DIR_FOR_OTP:+x}" ]
then
error 'Native Erlang/OTP installation not found.'
error "Set INSTALL_DIR_FOR_OTP or add the '$platform' target."
Expand Down

0 comments on commit c06b9af

Please sign in to comment.