Skip to content
Snippets Groups Projects
Commit 12d98f6c authored by colemanw's avatar colemanw
Browse files

Fix typos in releaser script

parent e993b6e5
Branches
Tags
No related merge requests found
......@@ -173,8 +173,8 @@ function do_update() {
cd $workdir/$version/export
# create sql upgrade file
tpl="CRM/Upgrade/Incremental/sql/$new_ver.mysql.tpl"
if [ -f tpl ]; then
echo "{* file to handle db changes in $new_ver during upgrade *}" >> $tpl
if [ ! -f $tpl ]; then
echo "{* file to handle db changes in $new_ver during upgrade *}" > $tpl
fi
# escape regex special chars
arg=`echo "$version" | sed 's:[]\[\^\$\.\*\/]:\\\\&:g'`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment