From 555e48835d3a042a1e26e6fe98df1d07ce219d57 Mon Sep 17 00:00:00 2001 From: fkobi Date: Mon, 15 Dec 2025 21:52:34 +0000 Subject: [PATCH] compile_fail.sh: use sh for new files it just creates a shell script to exit from. sh is enough for that. --- compile_fail.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compile_fail.sh b/compile_fail.sh index 60cf6b99..f468e3c1 100755 --- a/compile_fail.sh +++ b/compile_fail.sh @@ -7,9 +7,9 @@ export BUILD_COMMAND=$@ eval ${BUILD_COMMAND} >/dev/null 2>/dev/null if [ $? -eq 0 ]; then - echo -ne "#!/bin/bash\nexit 1;" > ${TEST_BIN_NAME} + echo -ne "#!/bin/sh\nexit 1;" > ${TEST_BIN_NAME} else - echo -ne "#!/bin/bash\nexit 0;" > ${TEST_BIN_NAME} + echo -ne "#!/bin/sh\nexit 0;" > ${TEST_BIN_NAME} fi chmod u+x ${TEST_BIN_NAME} exit 0;