From e59d4f45c04431605a2c2f2988d3127e8982fda7 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 14 Jun 2015 19:37:30 +0200 Subject: Revert "deploy: take optional target argument" This reverts commit fac851faf9f285310d26a5212ae1bcade615d45b. --- deploy | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'deploy') diff --git a/deploy b/deploy index e99794ed0..6034196e1 100755 --- a/deploy +++ b/deploy @@ -1,9 +1,11 @@ #! /bin/sh # -# usage: ./deploy HOST [TARGET] +# usage: ./deploy HOST # set -euf +host=$1 + export PATH="$PWD/bin:$PATH" #export nixpkgs=/var/nixpkgs export nixpkgs_root=$PWD/tmp/nixpkgs @@ -11,4 +13,4 @@ export config_root=$PWD export retiolum_hosts=$PWD/hosts export secrets_root=$PWD/secrets -exec nixos-deploy "$@" +exec nixos-deploy "$host" -- cgit v1.2.3