diff --git a/jenkins/scripts/common_translation_update.sh b/jenkins/scripts/common_translation_update.sh index 336ea7824e..5f38473c0f 100644 --- a/jenkins/scripts/common_translation_update.sh +++ b/jenkins/scripts/common_translation_update.sh @@ -314,7 +314,7 @@ function cleanup_po_files { check="^0 translated messages" if [[ $trans =~ $check ]] ; then # Nothing is translated, remove the file. - git rm $i + git rm -f $i else if [[ $trans =~ " translated message" ]] ; then trans_no=`echo $trans|sed -e 's/ translated message.*$//'` @@ -334,7 +334,7 @@ function cleanup_po_files { # For now we delete files that suddenly are less than 20 # per cent translated. if [[ "$ratio" -lt "20" ]] ; then - git rm $i + git rm -f $i fi fi done