> Ah, but still not 100% secure. The diff below should make the script
> cleaner and safer ( unless someone objects)
> #
I've applied the below check and also removed the ignore-length option.
Carsten
> Index: check_staged_release.sh
> ===================================================================
> --- check_staged_release.sh (revision 1674258)
> +++ check_staged_release.sh (working copy)
> @@ -16,15 +16,10 @@
> echo " DOWNLOAD STAGED REPOSITORY
> "
> echo
> "################################################################################"
>
> - if [ `wget --help | grep "no-check-certificate" | wc -l` -eq 1 ]
> - then
> - CHECK_SSL=--no-check-certificate
> - fi
> -
> - wget $CHECK_SSL \
> + wget \
> -e "robots=off" --wait 1 -nv -r -np "--reject=html,txt" "--follow-tags=" \
> -P "${DOWNLOAD}/${STAGING}" -nH "--cut-dirs=3" --ignore-length \
> -
> "http://repository.apache.org/content/repositories/orgapachesling-${STAGING}/org/apache/sling/"
> +
> "https://repository.apache.org/content/repositories/orgapachesling-${STAGING}/org/apache/sling/"
>
> else
> echo
> "################################################################################"
>
> Robert
>
--
Carsten Ziegeler
Adobe Research Switzerland
[email protected]