From 9e951cb7d8ec6ceda93123a111b3f743b0677b4e Mon Sep 17 00:00:00 2001 From: SDGDen Date: Wed, 4 Mar 2026 07:40:36 +0100 Subject: [PATCH] fixed SED delimeter due to timezone containing a forward slash. --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 186e1ca..cde5e6c 100644 --- a/deploy.sh +++ b/deploy.sh @@ -22,7 +22,7 @@ replace_string_recursive() { fi echo "Starting replacement of '$OLD_STRING' with '$NEW_STRING' in '$DIRECTORY'..." - find "$DIRECTORY" -type f -exec sed -i "s/$OLD_STRING/$NEW_STRING/g" {} + + find "$DIRECTORY" -type f -exec sed -i "s|$OLD_STRING|$NEW_STRING|g" {} + if [ $? -eq 0 ]; then echo "Replacement completed successfully."