We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a6dad6 commit f869a9fCopy full SHA for f869a9f
package/greposcope
@@ -65,7 +65,7 @@ mkdir -p "${tmp_dir}"
65
echo -e "==> Fetching the list of unreproducible packages...\n"
66
mapfile -t pkg_list < <(rebuildctl -H "${rebuilderd_host}" pkgs ls --status BAD | awk '{print $3}')
67
68
-if [ ${#pkg_list[@]} -eq 0 ]; then
+if ! (( ${#pkg_list[@]} )); then
69
echo "==> No unreproducible packages found"
70
exit 0
71
fi
@@ -79,7 +79,7 @@ done
79
80
pkg_list=("${updated_pkg_list[@]}")
81
82
83
echo "==> All diffoscope outputs are already downloaded"
84
else
85
echo -e "==> Downloading diffoscope outputs of ${#pkg_list[@]} unreproducible packages...\nThis may take some time...\n"
0 commit comments