Use correct path to push run and lib

This commit is contained in:
Loic Nageleisen 2018-06-26 14:59:46 +02:00
parent c1e8ca0ba7
commit 721ee182fe

2
push
View file

@ -37,7 +37,7 @@ remote="$1"
tmp=$(ssh "$remote" 'mktemp -d') tmp=$(ssh "$remote" 'mktemp -d')
echo -e -n "\033[33m** pushing to\033[0m $remote:$tmp" echo -e -n "\033[33m** pushing to\033[0m $remote:$tmp"
if scp -q -r "${APPLY_ROOT}"/{groups,units,run,lib} "$remote":"$tmp"; then if scp -q -r "${APPLY_ROOT}"/{groups,units} run lib "$remote":"$tmp"; then
echo -e " \033[32mOK\033[0m" echo -e " \033[32mOK\033[0m"
fi fi