From a657a6d2f6d6a95853d21e21be0f7eda4d1b9f82 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 23 Jul 2023 15:35:09 +0200 Subject: [PATCH] make-binaries: Apply another minor simplification --- tools/make-binaries | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/make-binaries b/tools/make-binaries index b4750a743..1fa10bf17 100755 --- a/tools/make-binaries +++ b/tools/make-binaries @@ -346,7 +346,7 @@ add_otp_path() if [ "$mode" = 'native' ] then native_otp_bin="$prefix/bin" - elif [ ! -z "${INSTALL_DIR_FOR_OTP+x}" ] && [ ! -z "${INSTALL_DIR_FOR_ELIXIR+x}" ] + elif [ -n "${INSTALL_DIR_FOR_OTP+x}" ] && [ -n "${INSTALL_DIR_FOR_ELIXIR+x}" ] then # For github runners to build for non-native systems: # https://github.com/erlef/setup-beam#environment-variables