From 4d5c44ffceb82fce3886259d99a7bdcca9442cdc Mon Sep 17 00:00:00 2001 From: David Sibley Date: Fri, 15 Nov 2024 15:21:50 +0000 Subject: [PATCH] removed if clause for from script --- scripts/replace-platform-files-with-templates.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/scripts/replace-platform-files-with-templates.sh b/scripts/replace-platform-files-with-templates.sh index 0b2e677e2..e1b8272a1 100755 --- a/scripts/replace-platform-files-with-templates.sh +++ b/scripts/replace-platform-files-with-templates.sh @@ -17,12 +17,8 @@ do if [ -f "$file" ]; then filename=$(basename "$file") echo " $filename" - if [ "$filename" == "platform_versions.tf" ]; then - echo "Skipping $filename" - else - cp "$file" "$subfolder/$filename" - sed -i '' "s/$token/$application_name/g" "$subfolder/$filename" - fi + cp "$file" "$subfolder/$filename" + sed -i '' "s/$token/$application_name/g" "$subfolder/$filename" fi done fi @@ -30,4 +26,4 @@ do done echo -echo "NOTE: This script skips sprinkler and cooker, and all platform_versions.tf files" +echo "NOTE: This script skips sprinkler and cooker directories."