Skip to content

Commit

Permalink
Update s3a_wrapper.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Zejnilovic authored Mar 27, 2024
1 parent ba01fab commit b932d52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/bash/s3a_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ function cleanup_versions() {
# Function to get evaluated tmp path for standardization
# Replace placeholders if present
function replace_std_path_placeholders() {
std_path=$(echo "$path" | sed "s/{0}/$dataset_name/")
std_path=$(echo "$path" | sed "s/{1}/$dataset_version/")
std_path=$(echo "$path" | sed "s/{2}/$report_date/")
std_path=$(echo "$path" | sed "s/{3}/$report_version/")
std_path=$(echo "$std_path" | sed "s/{0}/$dataset_name/")
std_path=$(echo "$std_path" | sed "s/{1}/$dataset_version/")
std_path=$(echo "$std_path" | sed "s/{2}/$report_date/")
std_path=$(echo "$std_path" | sed "s/{3}/$report_version/")

return 0
}
Expand Down

0 comments on commit b932d52

Please sign in to comment.