From 9f746c828f29780001e57dd81c5f105769a33c4c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 25 Apr 2014 09:25:59 +0000 Subject: [PATCH] * Mirror multiple releases. git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34818 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb --- mirror-nixos-stable.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mirror-nixos-stable.sh b/mirror-nixos-stable.sh index 5f20b48..f82c842 100755 --- a/mirror-nixos-stable.sh +++ b/mirror-nixos-stable.sh @@ -1,6 +1,8 @@ #! /bin/sh -e -version="13.10" +version="$1" +if [ -z "$version" ]; then echo "syntax: $0 VERSION"; exit 1; fi + releaseDir=$(./mirror-nixos-branch.sh "$version" "release-$version") echo $releaseDir