Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Ignore shellcheck SC2012 use find instead of ls
[releng/global-jjb.git]
/
shell
/
release-job.sh
diff --git
a/shell/release-job.sh
b/shell/release-job.sh
index
5527688
..
ccaa782
100644
(file)
--- a/
shell/release-job.sh
+++ b/
shell/release-job.sh
@@
-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"