Improve runhpvt.sh
authorJoachim Breitner <mail@joachim-breitner.de>
Fri, 6 Mar 2015 12:06:48 +0000 (12:06 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Fri, 6 Mar 2015 12:06:48 +0000 (12:06 +0000)
runhpvt.sh

index f97549a..62441d4 100644 (file)
@@ -23,7 +23,7 @@ then
 fi
 
 ./hpvt >/dev/null
-curl --show-error --silent -X PUT -H "Content-type: text/csv" --data-binary '@cabalDebianMap.txt' http://hackage.haskell.org/distro/Debian/packages | grep -v Ok
 mv output.html public_html/hackagevsdebian.html
 mv platform.html public_html/platform.html
+curl --digest --netrc-file hackage-netrec --show-error --silent -X PUT -H "Content-type: text/csv" --data-binary '@cabalDebianMap.txt' http://hackage.haskell.org/distro/Debian/packages | grep -q Ok
 # mv cabalDebianMap.txt public_html/cabalDebianMap.txt