Ignore shellcheck SC2012 use find instead of ls
[releng/global-jjb.git] / shell / release-job.sh
index 5527688..ccaa782 100644 (file)
@@ -384,6 +384,7 @@ pypi_release_file(){
         echo "WARN: failed to download source distribution"
     fi
     echo "INFO: Checking files in $tgtdir"
+    # shellcheck disable=SC2012
     filecount=$(ls $tgtdir | wc -l)
     if [[ $filecount = 0 ]] ; then
         echo "ERROR: no files downloaded"