aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xpony/watch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pony/watch b/pony/watch
index ec0f3f3..4668fdc 100755
--- a/pony/watch
+++ b/pony/watch
@@ -1,7 +1,7 @@
#!/bin/sh
[ -f 'pony' ] && rm 'pony'
-wget http://hackage.haskell.org/package/pony >/dev/null 2>/dev/null
+wget http://hackage.haskell.org/package/pony -O - | grep -Po 'pony-[^>]*' > pony 2>/dev/null
if [ $? = 0 ]; then
[ -f unfetchable ] && rm unfetchable
md5sum < pony > new-sum