From: Silvio Rhatto Date: Tue, 20 Oct 2015 20:25:21 +0000 (-0200) Subject: Inception: deploy: do not hardcode home path X-Git-Tag: 1.0.0~168 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c7c041b2bd2ce46f4b2fadd3e571b6e100269673;p=rhatto%2Fapps.git Inception: deploy: do not hardcode home path --- 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