X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/10251e7b189af377b02f6ea5ec6d0b010ca1eeef..deb8ddcf307273f8cbf7252e796f6769c83be427:/mr diff --git a/mr b/mr index ff4adce..a431e8a 100755 --- a/mr +++ b/mr @@ -1357,7 +1357,9 @@ 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}; + die $@ if $@; + move($tmpconfig, ".mrconfig") || die "rename: $!"; } exec("mr $ENV{MR_SWITCHES} -c .mrconfig checkout");