From d3eb09d1f80fa95237d4c0101499caad702eceaf Mon Sep 17 00:00:00 2001 From: prplwtf Date: Wed, 25 Oct 2023 19:50:37 +0200 Subject: [PATCH] fix(core): Another attempt at fixing problems regarding spaces with placeholders. --- blueprint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blueprint.sh b/blueprint.sh index 1203da9..86156d4 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -445,6 +445,8 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y" fi for f in $(find $DIR -type f -exec echo {} \;); do + f=$(sed "s~ ~\ ~~g" "$f") + sed -i "s~\^#version#\^~$version~g" "$f" sed -i "s~\^#author#\^~$author~g" "$f" sed -i "s~\^#name#\^~$name~g" "$f"