From: Coleman Watts Date: Tue, 9 Jul 2013 03:18:47 +0000 (-0700) Subject: Fix typos in releaser script X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=12d98f6c8df53916e2a39e9f941e9849ff148f88;p=civicrm-core.git Fix typos in releaser script --- diff --git a/tools/scripts/releaser/releaser b/tools/scripts/releaser/releaser index 2e9452316e..746a334cd2 100755 --- a/tools/scripts/releaser/releaser +++ b/tools/scripts/releaser/releaser @@ -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'`