From 36670f3e1cccad579b994a29320eeb8e287803b7 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 03a200175..43021d545 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