projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e993b6e
)
Fix typos in releaser script
author
Coleman Watts
<coleman@civicrm.org>
Tue, 9 Jul 2013 03:18:47 +0000
(20:18 -0700)
committer
Coleman Watts
<coleman@civicrm.org>
Tue, 9 Jul 2013 03:18:47 +0000
(20:18 -0700)
tools/scripts/releaser/releaser
patch
|
blob
|
blame
|
history
diff --git
a/tools/scripts/releaser/releaser
b/tools/scripts/releaser/releaser
index 2e9452316e148eabbe85bf48634c7f00310391c8..746a334cd25eaec48c2e30fc7269df4a67e44d8d 100755
(executable)
--- 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'`