aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvapier <vapier@gentoo.org>2009-01-07 05:16:44 +0000
committervapier <vapier@gentoo.org>2009-01-07 05:16:44 +0000
commite275ae3de90c334f44c5cf2f21ab21067cc603ae (patch)
tree256d6d003c2f7967ff731bd1fcaf681dc854d745
parentSupport intended KEYWORDS (diff)
downloadgentoolkit-e275ae3de90c334f44c5cf2f21ab21067cc603ae.tar.gz
gentoolkit-e275ae3de90c334f44c5cf2f21ab21067cc603ae.tar.bz2
gentoolkit-e275ae3de90c334f44c5cf2f21ab21067cc603ae.zip
Convert every instance of KEYWORDS in the file
svn path=/; revision=532
-rw-r--r--trunk/src/ekeyword/ChangeLog1
-rwxr-xr-xtrunk/src/ekeyword/ekeyword2
2 files changed, 2 insertions, 1 deletions
diff --git a/trunk/src/ekeyword/ChangeLog b/trunk/src/ekeyword/ChangeLog
index 160a964..0847dcf 100644
--- a/trunk/src/ekeyword/ChangeLog
+++ b/trunk/src/ekeyword/ChangeLog
@@ -1,5 +1,6 @@
07 Jan 2009 Mike Frysinger <vapier@gentoo.org>
* Support intended KEYWORDS
+ * Convert every instance of KEYWORDS in the file
27 Oct 2005 Aron Griffis <agriffis@gentoo.org>
* Fix handling of comments
diff --git a/trunk/src/ekeyword/ekeyword b/trunk/src/ekeyword/ekeyword
index 14cc0dc..1f85996 100755
--- a/trunk/src/ekeyword/ekeyword
+++ b/trunk/src/ekeyword/ekeyword
@@ -100,7 +100,7 @@ for my $f (@ARGV) {
# re-insert quoted to KEYWORDS
s/(["']).*?["']/$1$quoted$1/;
- print $_, <I> or die "Can't write $f.new: $!\n";
+ print $_ or die "Can't write $f.new: $!\n";
}
close I;