summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-03-08 19:35:34 +0000
committerJeremy Katz <katzj@redhat.com>2004-03-08 19:35:34 +0000
commit3f205aa7ed874ba466a2054e3e3b32ce01cabc3c (patch)
tree0eb9686fef9d6f43911410c690c0691b7bfdeee1 /scripts
parent57b85ff689790b663b9b13b6b02f49a36bdd7d44 (diff)
downloadanaconda-3f205aa7ed874ba466a2054e3e3b32ce01cabc3c.tar.gz
anaconda-3f205aa7ed874ba466a2054e3e3b32ce01cabc3c.tar.xz
anaconda-3f205aa7ed874ba466a2054e3e3b32ce01cabc3c.zip
clean up warning from awk
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/upd-instroot4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index a950f9ce0..f1ea8d7e5 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -802,14 +802,14 @@ cat $DESTGR/usr/lib/anaconda/lang-table* | awk '
print $4;
print gensub(/\..*$/,"","",$4);
print gensub(/_.*$/,"","",$4);
- if (split ($4, a, "\.") > 1) {
+ if (split ($4, a, ".") > 1) {
print gensub(/\..*$/,tolower("." a[2]),"",$4);
};
gsub("-", "", $7);
print $7;
print gensub(/\..*$/,"","",$7);
print gensub(/_.*$/,"","",$7);
- if (split ($7, a, "\.") > 1) {
+ if (split ($7, a, ".") > 1) {
print gensub(/\..*$/,tolower("." a[2]),"",$7);
};
}