From 88e247a1ec36675ecc9723da3b9eff38b1f0f9da Mon Sep 17 00:00:00 2001 From: Doug Chapman Date: Tue, 12 Nov 2024 00:19:36 +0000 Subject: [PATCH] fix javac check --- nix/shell.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/shell.sh b/nix/shell.sh index fa727cb84e9..760c582ee8d 100644 --- a/nix/shell.sh +++ b/nix/shell.sh @@ -45,7 +45,7 @@ function configure {(set -e function build {(set -e banner "Running Build" - if [[ -x "$(which javac)" ]]; then + if [[ -f "/usr/bin/javac" ]]; then javac tests/integrationv2/bin/SSLSocketClient.java fi cmake --build ./build -j $(nproc)