From 60e526dc9419d0bff89b05f4a98332aae48a0253 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 21 May 2015 01:56:08 +0200 Subject: sh: functions -> bin/ --- deploy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'deploy') diff --git a/deploy b/deploy index 03a2001..43021d5 100755 --- a/deploy +++ b/deploy @@ -4,7 +4,8 @@ # set -euf -. ./lib/prelude.sh +PATH="$PWD/bin${PATH+:$PATH}" +export PATH user=root host=$1 @@ -12,4 +13,4 @@ host=$1 config=./modules/$host/default.nix target=${2-$user@$host} -verbose deploy "$config" "$target" +exec ssh-deploy "$config" "$target" -- cgit v1.2.3