Revision: 923
http://japi.svn.sourceforge.net/japi/?rev=923&view=rev
Author: christianhujer
Date: 2009-02-17 11:27:10 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Fixed issue with svnversion.
Modified Paths:
--------------
common/trunk/branch.sh
Modified: common/trunk/branch.sh
===================================================================
--- common/trunk/branch.sh 2009-02-17 11:21:48 UTC (rev 922)
+++ common/trunk/branch.sh 2009-02-17 11:27:10 UTC (rev 923)
@@ -72,5 +72,6 @@
cd ..
svn cp trunk $branchdir
cd $branchdir
-svn propset svn:externals "$(svn propget svn:externals . | sed "s/^\^\/common\/trunk common$/^\/comon\/trunk@$(svnversion) common/ " )" .
-echo svn commit -m "Created branch $branch." ..
+svn propset svn:externals "$(svn propget svn:externals . | sed "s/^\^\/common\/trunk common$/^\/comon\/trunk@$(svnversion | sed s/[^0-9]//) common/ " )" .
+cd ../..
+echo svn commit -m "Created branch $branch." $branchdir
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|