Wrong intendation of "version".

Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/17e11875
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/17e11875
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/17e11875

Branch: refs/heads/release_scripts
Commit: 17e11875d40a21730009e23c2ecda38c23c48aea
Parents: 863a568
Author: Thorsten Schöning <[email protected]>
Authored: Thu Aug 17 10:38:59 2017 +0200
Committer: Thorsten Schöning <[email protected]>
Committed: Thu Aug 17 10:38:59 2017 +0200

----------------------------------------------------------------------
 releasePurge.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/17e11875/releasePurge.sh
----------------------------------------------------------------------
diff --git a/releasePurge.sh b/releasePurge.sh
index 035488d..19b2d13 100755
--- a/releasePurge.sh
+++ b/releasePurge.sh
@@ -39,7 +39,7 @@ function purge_branch_and_tag()
 
 function revert_pom_and_changes()
 {
-  sed -i -r "s/^\t(<version>).+(<)/\10.11.0-SNAPSHOT\2/" "pom.xml"
+  sed -i -r "s/^(\t<version>).+(<)/\10.11.0-SNAPSHOT\2/" "pom.xml"
   sed -i -r "1,/.+<release.+/ s/.+<release.+//"          
"src/changes/changes.xml"
   sed -i -r "1,/.+date=.+/ s/.+date=.+//"                
"src/changes/changes.xml"
   sed -i -r "1,/.+description=.+/ s/.+description=.+//"  
"src/changes/changes.xml"

Reply via email to