Skip to content

Commit

Permalink
Update tidal test script
Browse files Browse the repository at this point in the history
check_inputdata will change working directory, so we want to run it in a
subshell
  • Loading branch information
mnlevy1981 committed Aug 14, 2024
1 parent 3e053e1 commit 6e51516
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reg_tests/tidal-Simmons/Simmons-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ PHYS_FILE=gx1v6_physics_130523.nc
ENERGY_FILE=tidal_energy_gx1v6_20130512.nc

# Input Data repository (currently using "svn export")
check_inputdata $GRID_FILE $PHYS_FILE $ENERGY_FILE
# (run in subshell because check_inputdata changes directory)
(check_inputdata $GRID_FILE $PHYS_FILE $ENERGY_FILE)

# If different inputdata directory specified, update namelist
if [ "$INPUTDATA_DIR" != "$CVMix/inputdata" ]; then
Expand Down

0 comments on commit 6e51516

Please sign in to comment.