Skip to content

Commit

Permalink
Use -f while checking for clean.sh in base tutorial folder, otherwise…
Browse files Browse the repository at this point in the history
… the check is incorrectly True.
  • Loading branch information
IshaanDesai committed Jan 4, 2024
1 parent b67ddf5 commit c4db8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cleaning-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ clean_tutorial() {
rm -rfv ./precice-run/

# Run clean.sh if it exists in the base tutorial directory
if test "clean.sh"; then
if test -f "clean.sh"; then
./clean.sh
fi

Expand Down

0 comments on commit c4db8a3

Please sign in to comment.