aboutsummaryrefslogtreecommitdiff
path: root/inception
diff options
context:
space:
mode:
Diffstat (limited to 'inception')
-rwxr-xr-xinception6
1 files changed, 3 insertions, 3 deletions
diff --git a/inception b/inception
index a6797d4..d5bd3d2 100755
--- a/inception
+++ b/inception
@@ -56,7 +56,7 @@ elif [ "$1" == "install" ]; then
elif [ "$1" == "deploy" ]; then
if [ ! -z "$2" ]; then
REMOTE="$2"
- MODULES="`$DIRNAME/metadot/metadot list`"
+ MODULES="`$DIRNAME/metadot/metadot list | xargs`"
# Sync apps
if [ -e "$HOME/apps" ]; then
@@ -69,10 +69,10 @@ elif [ "$1" == "deploy" ]; then
fi
# Sync loaded modules
- ssh $REMOTE <<EOF
+ ssh -T $REMOTE <<EOF
##### BEGIN REMOTE SCRIPT #####
for module in $MODULES; do
- $HOME/apps/metadot/metadot load $module
+ \$HOME/apps/metadot/metadot load \$module
done
##### END REMOTE SCRIPT #######
EOF