From c7c041b2bd2ce46f4b2fadd3e571b6e100269673 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 20 Oct 2015 18:25:21 -0200 Subject: Inception: deploy: do not hardcode home path --- inception | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inception') diff --git a/inception b/inception index cb89b2d..7d75e3d 100755 --- a/inception +++ b/inception @@ -60,12 +60,12 @@ elif [ "$1" == "deploy" ]; then # Sync apps if [ -e "$HOME/apps" ]; then - rsync -avz --delete $HOME/apps/ $REMOTE:$HOME/apps/ + rsync -avz --delete $HOME/apps/ $REMOTE:apps/ fi # Sync dotfiles if [ -e "$HOME/.dotfiles" ]; then - rsync -avz --delete $HOME/.dotfiles/ $REMOTE:$HOME/.dotfiles/ + rsync -avz --delete $HOME/.dotfiles/ $REMOTE:.dotfiles/ fi # Sync loaded modules -- cgit v1.2.3