From e1665e549b9842e5059abdee1b5ef887c73b720f Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Sat, 19 Nov 2022 15:02:25 -0800 Subject: [PATCH] Fix param check. --- pre_cache_action.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre_cache_action.sh b/pre_cache_action.sh index 50e67af..2801257 100755 --- a/pre_cache_action.sh +++ b/pre_cache_action.sh @@ -36,7 +36,7 @@ if test -z "${packages}"; then exit 2 fi -if test "${execute_install_scripts}" != "true" -o "${execute_install_scripts}" != "false"; then +if test "${execute_install_scripts}" != "true" -a "${execute_install_scripts}" != "false"; then log "aborted" log "execute_install_scripts value '${execute_install_scripts}' must be either true or false (case sensitive)." exit 3