[cluster] deploy: send to user's home
Set the destination directory to ~ instead of /root.
This commit is contained in:
parent
3226138f25
commit
2639f9aece
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue