X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjjb-verify-job.sh;h=8dd50f7fb686017948502ad39454aee1f8efb01b;hb=8709ee5e00526ce3298b92a85a79a7f058d4216b;hp=c42438e9bc1f1d09cba0e0c58f1da15fff99374b;hpb=655da4ff0ed3d23d6e01369dbb85d6efb5fcfd1c;p=releng%2Fglobal-jjb.git diff --git a/shell/jjb-verify-job.sh b/shell/jjb-verify-job.sh index c42438e9..8dd50f7f 100644 --- a/shell/jjb-verify-job.sh +++ b/shell/jjb-verify-job.sh @@ -29,7 +29,7 @@ do done popd -if [ ! -z "$(ls -A archives/job-configs)" ]; then +if [ -n "$(ls -A archives/job-configs)" ]; then tar cJvf archives/job-configs.tar.xz archives/job-configs rm -rf archives/job-configs fi