aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgen-download-page.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/gen-download-page.sh b/gen-download-page.sh
index b75bdf2..bd50237 100755
--- a/gen-download-page.sh
+++ b/gen-download-page.sh
@@ -169,6 +169,7 @@ do
done
exec 1>&6 6>&-
+failed=0
for l in $(lynx -listonly -nonumbers -dump "${out}" | grep "https://distfiles")
do
@@ -178,5 +179,10 @@ do
if [ ${?} -eq 0 ]
then
echo "ok"
+ continue
fi
+
+ failed=1
done
+
+exit ${failed}