From 13c9841c25787f79e4dce64b9de58fd285ad20f3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 24 Feb 2013 21:05:32 +0000 Subject: [PATCH] * Fix channel generation. I really shouldn't parse HTML... git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34690 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb --- mirror-nixos.sh | 2 +- mirror-nixpkgs.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mirror-nixos.sh b/mirror-nixos.sh index 9daea4b..a131ddb 100755 --- a/mirror-nixos.sh +++ b/mirror-nixos.sh @@ -12,7 +12,7 @@ if [ -z "$url" ]; then exit 1; fi echo "View page is $url" -release=$($curl $url | sed 's|.*

View.*(\(.*\).*|\1|; t; d') +release=$($curl $url | sed 's|.*

.*View \(.*\)View.*(\(.*\).*|\1|; t; d') +release=$($curl $url | sed 's|.*

.*View \(.*\)