07 Jan 2009 Mike Frysinger <vapier@gentoo.org>
* Support intended KEYWORDS
* Convert every instance of KEYWORDS in the file
+ * Error out on invalid arguments #156827
27 Oct 2005 Aron Griffis <agriffis@gentoo.org>
* Fix handling of comments
die "I don't understand $a\n";
}
+my $files = 0;
for my $f (@ARGV) {
if ($f =~ /$kw_re/o) {
push @kw, $f;
system "diff $f $f.new | grep -v '^[0-1]'";
rename "$f.new", "$f" or die "Can't rename: $!\n";
+ $files++;
+}
+
+if ($files == 0) {
+ die "No ebuilds processed!";
}
# vim:ts=8 sw=4