]> git.pld-linux.org Git - packages/rpm-build-macros.git/blobdiff - rpm-find-lang
now you may use ./configure from %configuredir not only from current dir
[packages/rpm-build-macros.git] / rpm-find-lang
index e08c36aab7455ba0b50edb7c846b75df085e4ff2..39ddefa4c194141e04938dab08ac1b61f3e9ca9a 100644 (file)
@@ -43,6 +43,7 @@ to \$3.
 Additional options:
   --with-gnome         find GNOME help files
   --with-kde           find KDE help files (not implemented yet)
+  --all-name           support for KDE
   --without-mo         not find locales files
 EOF
 exit 1
@@ -127,7 +128,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.032528 seconds and 4 git commands to generate.