Squeeze now follows haskell-platform-2011.4.0.0
[darcs-mirror-hpvt.git] / runhpvt.sh
1 #!/bin/bash
2
3 set -e
4
5 cd $(dirname $0)
6 wget -q http://hackage.haskell.org/packages/archive/00-index.tar.gz -O 00-index.tar.gz
7 wget -q http://ftp.debian.org/debian/dists/unstable/main/source/Sources.bz2 -O - | bunzip2 > Sources.unstable
8 wget -q http://ftp.debian.org/debian/dists/squeeze/main/source/Sources.bz2 -O - | bunzip2 > Sources.squeeze
9 wget -q http://ftp.debian.org/debian/dists/wheezy/main/source/Sources.bz2 -O - | bunzip2 > Sources.wheezy
10 #wget -q http://code.galois.com/darcs/haskell-platform/haskell-platform.cabal -O - > haskell-platform-darcs.cabal
11 wget -q http://code.haskell.org/haskell-platform/haskell-platform.cabal -O - > haskell-platform-darcs.cabal
12 wget -q http://hackage.haskell.org/platform/2010.1.0.0/haskell-platform.cabal -O -  > haskell-platform-2010.1.0.0.cabal
13 #wget -q http://hackage.haskell.org/platform/2010.2.0.0/haskell-platform.cabal -O - > haskell-platform-2010.2.0.0.cabal
14 #wget -q http://hackage.haskell.org/platform/2011.4.0.0/haskell-platform.cabal -O - > haskell-platform-2011.4.0.0.cabal
15
16 if [ $(hostname) = ravel ]
17 then
18         export GCONV_PATH=/usr/lib/gconv
19 fi
20
21 ./hpvt >/dev/null
22 mv output.html public_html/hackagevsdebian.html
23 mv platform.html public_html/platform.html
24 mv cabalDebianMap.txt public_html/cabalDebianMap.txt