Skip to content
Snippets Groups Projects
Commit 200f3cae authored by Shawn Pearce's avatar Shawn Pearce
Browse files

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: default avatarShawn O. Pearce <spearce@spearce.org>
parent 44ba1bc7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment