Author: keichwa Date: 2014-10-08 13:18:51 +0200 (Wed, 08 Oct 2014) New Revision: 89843 Modified: trunk/yast/50-tools/y2-prep-packages.sh Log: only add files that are new Modified: trunk/yast/50-tools/y2-prep-packages.sh =================================================================== --- trunk/yast/50-tools/y2-prep-packages.sh 2014-10-08 10:56:37 UTC (rev 89842) +++ trunk/yast/50-tools/y2-prep-packages.sh 2014-10-08 11:18:51 UTC (rev 89843) @@ -8,6 +8,8 @@ # Note the quotes around `$TEMP': they are essential! eval set -- "$TEMP" +# set -x + while true ; do case "$1" in -h|--help) echo "$usage"; exit ;; @@ -111,7 +113,7 @@ done if [ -n "$svn" ]; then - svn add *.$l.po + svn status | grep ^\?.*.$l.po$ | awk '{print $2}' | xargs svn add svn ci -mmerged *.$l.po fi @@ -220,10 +222,11 @@ popd >/dev/null } -i=1 +i=0 +lines=$(echo "$langs" | sed 's/ /\n/g'| nl | tail -1 | awk '{print $1}') for l in $langs; do echo $((i++)) >/dev/null - echo "***" $(printf "%02d" $i: $l + echo "***" $(printf "%02d/%d" $i $lines): $l [ -f $l/RPMNAME ] || continue langdir=$(pwd)/$transdir/y2-$l pushd $l 1>/dev/null || continue -- To unsubscribe, e-mail: opensuse-translation-commit+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-translation-commit+owner@opensuse.org