From: agriffis Date: Tue, 9 Nov 2004 14:34:21 +0000 (-0000) Subject: change "cvs diff -fU 0" => "cvs -f diff U0" because -f is a global option, not a... X-Git-Tag: gentoolkit-0.2.4.3~334 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6ef917ef2259b269992265f37adc56217256db16;p=gentoolkit.git change "cvs diff -fU 0" => "cvs -f diff U0" because -f is a global option, not a diff option svn path=/; revision=168 --- diff --git a/trunk/src/echangelog/ChangeLog b/trunk/src/echangelog/ChangeLog index 059d937..26ea9b4 100644 --- a/trunk/src/echangelog/ChangeLog +++ b/trunk/src/echangelog/ChangeLog @@ -1,3 +1,7 @@ +09 Nov 2004 Aron Griffis + * change "cvs diff -fU 0" => "cvs -f diff U0" because -f is a + global option, not a diff option + 08 Nov 2004 Aron Griffis * call cvs with -f to refrain from using .cvsrc, which might contain conflicting options diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog index 65b2edd..01b77f4 100644 --- a/trunk/src/echangelog/echangelog +++ b/trunk/src/echangelog/echangelog @@ -53,6 +53,7 @@ if (-f 'ChangeLog') { # Figure out what has changed around here open C, 'cvs -fn up 2>&1 |' or die "Can't run cvs -fn up: $!\n"; while () { + #print STDERR "cvs: $_"; /ChangeLog/ and next; /^\? (\S+)/ and push @unknown, $1; /^([ARMC]) (\S+)/ or next; @@ -72,10 +73,13 @@ EOT # the changed files we have @ebuilds = grep /\.ebuild$/, @files; @files = grep !/\.ebuild$/, @files; +#print STDERR '@ebuilds = [', join('],[', @ebuilds), "]\n"; +#print STDERR '@files = [', join('],[', @files), "]\n"; if (@ebuilds) { - open C, "cvs diff -fU 0 @ebuilds 2>&1 |" or die "Can't run cvs diff: $!\n"; + open C, "cvs -f diff -U0 @ebuilds 2>&1 |" or die "Can't run cvs diff: $!\n"; $_ = ; while (defined $_) { + #print STDERR "cvs: $_"; if (/^cvs diff: (([^\/]*?)\.ebuild) was removed/) { push @files, $1; $versions{$2} = 0; # existing ebuild that was removed