X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fcheck-poms.sh;h=a23ca9ba958b517202e7b4568680dfe8c8d16c7a;hb=0a3c84bce0b23dfa756cf4ebfa275eabc344b1b3;hp=7ba7f699061112b35b7970067e4fa5f0ab3fb3b1;hpb=6e2271d4db59c027e4f6cd234becc827186546be;p=releng%2Fbuilder.git diff --git a/jjb/check-poms.sh b/jjb/check-poms.sh index 7ba7f6990..a23ca9ba9 100644 --- a/jjb/check-poms.sh +++ b/jjb/check-poms.sh @@ -52,7 +52,7 @@ done FILE=repos.txt find . -name pom.xml -print0 | xargs -0 grep -i '\|' > "$FILE" -[[ $(tr -d "\r\n" < $FILE|wc -c) -eq 0 ]] && rm $FILE +[[ $(tr -d "\\r\\n" < $FILE|wc -c) -eq 0 ]] && rm $FILE if [ -a $FILE ] then