Skip to content

Commit 52b5cfa

Browse files
authored
Merge pull request #43 from stackhpc/correct-unclean-checkout-check
Correct check for allow_unclean_kayobe_config
2 parents 71b269e + b568634 commit 52b5cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ function create_kayobe_environment {
599599
local allow_unclean_kayobe_config=${KAYOBE_AUTOMATION_ALLOW_UNCLEAN_KAYOBE_CONFIG:-0}
600600
mkdir -p "$env"/{src/kayobe,src/kayobe-config,venvs/kayobe}
601601

602-
if [ "$allow_unclean_kayobe_config" != 0 ]; then
602+
if [ "$allow_unclean_kayobe_config" == 0 ]; then
603603
# Ensure we have an unmodified copy of kayobe-config
604604
if [[ $(realpath "$kayobe_config_source_path") != $(realpath "$env/src/kayobe-config") ]]; then
605605
clean_copy "$kayobe_config_source_path" "$env/src/kayobe-config"

0 commit comments

Comments
 (0)