[synchronicity-commits] SF.net SVN: synchronicity:[1431] trunk
Easy, fast, and lightweight backup and synchronization app for Windows
Brought to you by:
createsoftware
From: <cre...@us...> - 2011-10-25 16:10:33
|
Revision: 1431 http://synchronicity.svn.sourceforge.net/synchronicity/?rev=1431&view=rev Author: createsoftware Date: 2011-10-25 16:10:24 +0000 (Tue, 25 Oct 2011) Log Message: ----------- Modifying source files just after building confuses svn, even though the contents of the files are restored after. Fix the build script to circumvent this problem. Modified Paths: -------------- trunk/Create Synchronicity/Revision.vb trunk/build.bat Modified: trunk/Create Synchronicity/Revision.vb =================================================================== --- trunk/Create Synchronicity/Revision.vb 2011-10-25 15:55:57 UTC (rev 1430) +++ trunk/Create Synchronicity/Revision.vb 2011-10-25 16:10:24 UTC (rev 1431) @@ -1,3 +1,3 @@ Module Revision - Public Const Build As Integer = 1429 + Public Const Build As Integer = 1430 End Module Modified: trunk/build.bat =================================================================== --- trunk/build.bat 2011-10-25 15:55:57 UTC (rev 1430) +++ trunk/build.bat 2011-10-25 16:10:24 UTC (rev 1431) @@ -21,7 +21,11 @@ ( echo. echo ----- -for /R "Create Synchronicity\Interface" %%f IN (*.vb) do sed -i "s/Me.Font = .*/Me.Font = Main.LargeFont/" "%%f" +for /R "Create Synchronicity\Interface" %%f IN (*.vb) do +( +copy "%%f" "%%f.bak" +sed -i "s/Me.Font = .*/Me.Font = Main.LargeFont/" "%%f" +) ) >> %LOG% echo (**) Updating revision number @@ -74,7 +78,7 @@ ( echo. echo ----- -for /R "Create Synchronicity\Interface" %%f IN (*.vb) do sed -i "s/Me.Font = .*/Me.Font = New System.Drawing.Font(\"Verdana\", 8.25!)/" "%%f" +for /R "Create Synchronicity\Interface" %%f IN (*.vb) do move /Y "%%f.bak" "%%f" ) >> %LOG% @goto end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |