diff options
Diffstat (limited to 'inception')
-rwxr-xr-x | inception | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |