bump_revision.pl: svn.freebsd.org -> repo.freebsd.org

and while here, fix a typo in the tmpdir's name.
This commit is contained in:
Matthias Andree 2020-07-16 15:00:59 +00:00
parent 8c737c7dc2
commit 243562ce09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542361

View File

@ -259,11 +259,11 @@ my $ports = join(" ", keys %DEPPORTS);
# (don't do error checking, too complicated right now)
#
unless ($opt_f or $opt_n) {
$TMPDIR = ".bump_revsion_pl_tmpdir.$$";
$TMPDIR = ".bump_revision_pl_tmpdir.$$";
print "svn checkout into $TMPDIR...\n";
mkdir($TMPDIR, 0755);
chdir($TMPDIR);
system "svn checkout --depth=immediates svn+ssh://svn.freebsd.org/ports/head/ ports" and die "SVN checkout failed (wait value $?), aborting";
system "svn checkout --depth=immediates svn+ssh://repo.freebsd.org/ports/head/ ports" and die "SVN checkout failed (wait value $?), aborting";
chdir('ports');
system "svn update --set-depth=infinity $ports" and die "SVN checkout failed (wait value $?), aborting";
}