From 1b0561c15d12794ccf5ce32b6298db65d0aa306a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 13 Oct 2013 13:17:40 +0200 Subject: improve watch script for pony MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- pony/watch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pony/watch') 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 -- cgit v1.2.3-70-g09d2