fix(core): Another attempt at fixing problems regarding spaces with placeholders.

This commit is contained in:
prplwtf 2023-10-25 19:50:37 +02:00
parent 4862b99b7e
commit d3eb09d1f8

View file

@ -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"