Skip to content

Commit

Permalink
test: do not prepare if already present
Browse files Browse the repository at this point in the history
  • Loading branch information
vcastellm committed Sep 13, 2024
1 parent 3d03ba4 commit 244eb2d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/scripts/kurtosis_prepare_params_yml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ if [ -z $DEST_KURTOSIS_PARAMS_YML ]; then
exit 1
fi

# Check if the destination params file exists and don't do nothing
if [ -f $DEST_KURTOSIS_PARAMS_YML ]; then
echo "Destination params file already exists"
exit 0
fi

KURTOSIS_FOLDER=$1
if [ -z $KURTOSIS_FOLDER ]; then
echo "Missing param Kurtosis Folder"
Expand Down

0 comments on commit 244eb2d

Please sign in to comment.