fix(core): Modify sed expression for fixing placeholder filenames.

This commit is contained in:
prplwtf 2023-10-25 19:57:40 +02:00
parent d3eb09d1f8
commit 1ee5eb1743

View file

@ -445,7 +445,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y"
fi fi
for f in $(find $DIR -type f -exec echo {} \;); do for f in $(find $DIR -type f -exec echo {} \;); do
f=$(sed "s~ ~\ ~~g" "$f") f=$(echo -e "$f" 2> /dev/null | sed "s~ ~\ ~~g")
sed -i "s~\^#version#\^~$version~g" "$f" sed -i "s~\^#version#\^~$version~g" "$f"
sed -i "s~\^#author#\^~$author~g" "$f" sed -i "s~\^#author#\^~$author~g" "$f"