Skip to content

Commit 6329231

Browse files
committed
🐞 fix sed bad command
1 parent 22e070c commit 6329231

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

script/version

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ read ov
2525
echo -n "enter new version: "
2626
read nv
2727

28-
sed -i "${xml_lpos}s/${ov}/${nv}" ${xml_loc}
29-
sed -i "${java_lpos}s/${ov}/${nv}" ${java_loc}
30-
sed -i "${bash_lpos}s/${ov}/${nv}" ${bash_loc}
28+
sed -i "${xml_lpos}s/${ov}/${nv}/" ${xml_loc}
29+
sed -i "${java_lpos}s/${ov}/${nv}/" ${java_loc}
30+
sed -i "${bash_lpos}s/${ov}/${nv}/" ${bash_loc}
3131

3232
echo "done"

0 commit comments

Comments
 (0)