diff --git a/statistics b/statistics index b3ce51f..2c88b21 100755 --- a/statistics +++ b/statistics @@ -82,8 +82,9 @@ for BRANCH in $BRANCHES; do graph " >> $STATSFILE - for file in `ls "$BRANCH"`; do - filename=`echo $file | sed s/.po//` + for files in $BRANCH/*.po; do + file=`basename $files` + filename=`basename $file .po` npo=$(($npo + 1)); has_errors="no"; has_warnings="no"; # Extract the declared charset, may be we use this in future.