From 96edf7b72f75b9dc07ebc3bc012a786c476a8b4b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 9 Aug 2010 11:43:25 +0000 Subject: [PATCH] fixed typo in editsvnchang_e_log and not replaced message about created svntag --- doc/rpm-build/checkout-build-archives.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/rpm-build/checkout-build-archives.php b/doc/rpm-build/checkout-build-archives.php index 1989e582a6..c4fbc096fc 100755 --- a/doc/rpm-build/checkout-build-archives.php +++ b/doc/rpm-build/checkout-build-archives.php @@ -92,7 +92,7 @@ while(($arg = array_shift($argv))) $config[$name] = $value ? $value : true; if (!in_array('editsvnchangelog',$config['run'])) { - array_unshift($config['run'],'editsvnchanglog'); + array_unshift($config['run'],'editsvnchangelog'); } break; @@ -601,11 +601,6 @@ function get_modules_per_repro() $translate = array(); foreach($config as $name => $value) $translate['$'.$name] = $value; - if (strpos($config['svntag'],'$') !== false) // allow to use config vars like $version in tag - { - $config['svntag'] = strtr($config['svntag'],$translate); - } - // process alias/externals $svnbranch = $config['svnbase'].'/'.$config['svnbranch']; $url = $svnbranch.'/'.$config['svnalias']; @@ -648,6 +643,13 @@ function do_svntag() { global $config,$svn,$verbose; + $translate = array(); + foreach($config as $name => $value) $translate['$'.$name] = $value; + + if (strpos($config['svntag'],'$') !== false) // allow to use config vars like $version in tag + { + $config['svntag'] = strtr($config['svntag'],$translate); + } echo "Creating SVN tag $config[svntag]\n"; if (!isset($config['modules'])) {