summaryrefslogtreecommitdiffstats
path: root/utils/trimpcitable
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-09 05:30:57 +0000
committerMatt Wilson <msw@redhat.com>1999-09-09 05:30:57 +0000
commit4fa2045fe55520aa70b56379afc7f08ebda6a785 (patch)
treee2574280c332ec070c5706f9dd4d0fb4437d71f0 /utils/trimpcitable
parent5fa084f4f41a4059e79645e57ca12df5f3a06f4e (diff)
downloadanaconda-4fa2045fe55520aa70b56379afc7f08ebda6a785.tar.gz
anaconda-4fa2045fe55520aa70b56379afc7f08ebda6a785.tar.xz
anaconda-4fa2045fe55520aa70b56379afc7f08ebda6a785.zip
new format
Diffstat (limited to 'utils/trimpcitable')
-rwxr-xr-xutils/trimpcitable5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/trimpcitable b/utils/trimpcitable
index 9e05fb659..c4ff1f2fd 100755
--- a/utils/trimpcitable
+++ b/utils/trimpcitable
@@ -1,7 +1,8 @@
#!/usr/bin/perl
-for $n (@ARGV) {
- $mods{$n} = $n
+foreach $n (@ARGV) {
+ $n =~ s/\.o$//;
+ $mods{"\"$n\""} = $n;
}
while (<STDIN>) {