]> source.dussan.org Git - jgit.git/commit
tools/version.sh: Use backup files on Win32 42/842/1
authorShawn O. Pearce <spearce@spearce.org>
Mon, 14 Jun 2010 15:18:47 +0000 (08:18 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 14 Jun 2010 15:19:56 +0000 (08:19 -0700)
commit200f3caefc6c24512c01f6ce8aa5b0a7063a7dbf
tree752c3de202b066edbf7af6bee6acc6349afa8926
parent44ba1bc78ce0c00fd970f39a93128de061e83e01
tools/version.sh: Use backup files on Win32

Windows doesn't permit us to edit a file in-place with Perl.
So create backup files when we perform the edit, and remove them
when we are done.  This is a tad slower on POSIX systems, but is
much more portable.

Change-Id: I429c7d698924cb32e709363f5da82f7232bbdab2
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
tools/version.sh