]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
lines not words in wc calculation rpm-4_0_2-0_2 rpm-4_0_2-25
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 5 Mar 2001 21:43:41 +0000 (21:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-find-lang -> 1.3

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.050177 seconds and 4 git commands to generate.