[cluster] deploy: send to user's home

Set the destination directory to ~ instead of /root.
This commit is contained in:
Matteo Cypriani 2013-05-02 10:57:30 -04:00
parent 3226138f25
commit 2639f9aece
1 changed files with 1 additions and 1 deletions

View File

@ -55,5 +55,5 @@ fi
for FILE in "$@" ; do
echo "Deploying '$FILE'..."
$PSCP -r $LOGIN -h "$HOSTS" -- "$FILE" /root
$PSCP -r $LOGIN -h "$HOSTS" -- "$FILE" ~
done