diff options
author | Christian Pointner <equinox@spreadspace.org> | 2012-10-13 13:26:39 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2012-10-13 13:26:39 +0200 |
commit | 34ec8044576db1395451af89f8eee31fbeb0882b (patch) | |
tree | f5e13189abc8449cc7e5cd1bd5199f64d5a22273 /src/deploy.sh | |
parent | fixed typo (diff) |
deployment works now
Diffstat (limited to 'src/deploy.sh')
-rwxr-xr-x | src/deploy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deploy.sh b/src/deploy.sh index 9b24a4a..23400b2 100755 --- a/src/deploy.sh +++ b/src/deploy.sh @@ -50,7 +50,7 @@ for machine in *; do echo "copying files to $machine ... " tar -czf "$machine.tar.gz" "$machine"/* scp -i "$SSH_KEY" -F "$SSH_CONFIG" "$machine.tar.gz" $SSH_USER@"$machine":/tmp - ssh -i "$SSH_KEY" -F "$SSH_CONFIG" $SSH_USER@"$machine" install "$machine.tar.gz" + ssh -i "$SSH_KEY" -F "$SSH_CONFIG" $SSH_USER@"$machine" install "/tmp/$machine.tar.gz" rm "$machine.tar.gz" fi done |