Commit f33f798e authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Eliminate annoying stderr diagnostic

parent 8c8f686e
......@@ -220,10 +220,14 @@ while [ $MAXRUNS -eq 0 ] || [ $i -lt $MAXRUNS ]
do
i=$((i + 1))
(cd "${SRCDIR}" && git reset --hard > /dev/null 2>&1 || true)
(cd "${SRCDIR}" && git clean -df > /dev/null 2>&1 || true)
(cd "${SRCDIR}" && git pull > /dev/null 2>&1 || true)
(cd "${SRCDIR}" && chmod -R +w varnish-trunk && rm -rf varnish-trunk > /dev/null 2>&1 || true)
(
cd "${SRCDIR}"
chmod -R +w varnish-trunk > /dev/null 2>&1 || true
rm -rf varnish-trunk > /dev/null 2>&1 || true
git reset --hard > /dev/null 2>&1 || true
git clean -df > /dev/null 2>&1 || true
git pull > /dev/null 2>&1
)
rev=`cd "${SRCDIR}" && git show -s --pretty=format:%H`
if [ "x${rev}" != "x${orev}" ] ; then
waitcur=${WAITMIN}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment