Skip to content

Commit

Permalink
More confined regular expressing fixing ESCOMP#2039
Browse files Browse the repository at this point in the history
  • Loading branch information
ekluzek committed Jun 28, 2023
1 parent bb2a8d2 commit 76569cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cime_config/usermods_dirs/NEON/defaults/shell_commands
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ else
fi

# If needed for SP simulations: & set history file variables
if [[ $compset =~ .*CLM[0-9]+%.*SP.* ]]; then
if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then
if [[ $TEST != "TRUE" ]]; then
./xmlchange STOP_OPTION=nyears
fi
Expand Down

0 comments on commit 76569cd

Please sign in to comment.