diff options
-rw-r--r-- | tools/tools/tinderbox/tinderbox.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/tinderbox/tinderbox.pl b/tools/tools/tinderbox/tinderbox.pl index 8716854..859cd56 100644 --- a/tools/tools/tinderbox/tinderbox.pl +++ b/tools/tools/tinderbox/tinderbox.pl @@ -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); |