bug 196 fixed : release creator shell script transforms every occurence of

%PWGVERSION% into the release number being created. This occurence should
not been transformed, so we use a little trick :-)


git-svn-id: http://piwigo.org/svn/branches/branch-1_5@991 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall 2005-12-27 10:03:29 +00:00
parent 9bc452537e
commit bf56ef443b

View file

@ -76,7 +76,9 @@ if (isset($_GET['action']) and 'check_upgrade' == $_GET['action'])
l10n('Check for upgrade failed for unknown reasons.')
);
}
else if ('%PWGVERSION%' == $versions{'current'})
// concatenation needed to avoid automatic transformation by release
// script generator
else if ('%'.'PWGVERSION'.'%' == $versions{'current'})
{
array_push(
$page['infos'],