X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/2c3b09e4e6b5850140894fd837c8bba4f070a8c5..a54b03f753aa67f09bc1c64b7dd2ae7d77858da0:/mr diff --git a/mr b/mr index ff4adce..98c96fe 100755 --- a/mr +++ b/mr @@ -1357,7 +1357,8 @@ sub bootstrap { print STDERR "mr: .mrconfig file already exists, not overwriting with $url\n"; } else { - rename($tmpconfig, ".mrconfig") || die "rename: $!"; + eval q{use File::Copy}; + move($tmpconfig, ".mrconfig") || die "rename: $!"; } exec("mr $ENV{MR_SWITCHES} -c .mrconfig checkout");