]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-find-lang
now /bin/rpm can initdb, rebuilddb, verifydb, query and check sign without any extern...
[packages/rpm.git] / rpm-find-lang
index e08c36aab7455ba0b50edb7c846b75df085e4ff2..c195e0e61c4175fc145810c47e5d6b8e43d3389d 100644 (file)
@@ -127,7 +127,7 @@ s:'"$TOP_DIR"'::
 s:^\([^%].*\)::
 s:%lang(C) ::' >> $MO_NAME
 
-if [ "$(cat $MO_NAME | egrep -v '(^%defattr|^$)' | wc -w)" -le 0  ]; then
+if [ "$(cat $MO_NAME | egrep -v '(^%defattr|^$)' | wc -l)" -le 0  ]; then
         echo 'Error: international files not found !'
         exit 1
 fi
This page took 0.024568 seconds and 4 git commands to generate.