mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make "CURRENT" the default branch, and special-case it in the update
code so it results in -A rather than -rCURRENT.
This commit is contained in:
parent
11e1658759
commit
487106ce7a
1 changed files with 2 additions and 2 deletions
|
|
@ -265,7 +265,7 @@ MAIN:{
|
|||
# Set defaults
|
||||
$arch = `/usr/bin/uname -m`;
|
||||
chomp($arch);
|
||||
$branch = "HEAD";
|
||||
$branch = "CURRENT";
|
||||
$jobs = 0;
|
||||
$repository = "/home/ncvs";
|
||||
$sandbox = "$ENV{'HOME'}/tinderbox";
|
||||
|
|
@ -376,7 +376,7 @@ MAIN:{
|
|||
} else {
|
||||
push(@cvsargs, "checkout", "-P");
|
||||
};
|
||||
push(@cvsargs, "-r$branch")
|
||||
push(@cvsargs, ($branch eq 'CURRENT') ? "-A" : "-r$branch")
|
||||
if defined($branch);
|
||||
push(@cvsargs, "-D$date")
|
||||
if defined($date);
|
||||
|
|
|
|||
Loading…
Reference in a new issue