X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/10251e7b189af377b02f6ea5ec6d0b010ca1eeef..a54b03f753aa67f09bc1c64b7dd2ae7d77858da0:/mr?ds=sidebyside 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");