fix(core): Modify sed expression for fixing placeholder filenames.
This commit is contained in:
parent
d3eb09d1f8
commit
1ee5eb1743
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue