Commit 6c238b06 authored by Maxim Cournoyer's avatar Maxim Cournoyer
Browse files

scripts: Export RSYNC_RSH environment variable in deploy-package.sh.

Otherwise it wouldn't be in effect when using the
'--remote-ssh-identity' option of the script.

* scripts/deploy-packages.sh (fetch_qt_deb) <RSYNC_RSH>: Export.
(deploy) <RSYNC_RSH>: Likewise.

Change-Id: Ia738402a16dad4eed3557137c82a3cdb6bbdeeef
parent 5ab9db7a
...@@ -35,7 +35,7 @@ function fetch_qt_deb() ...@@ -35,7 +35,7 @@ function fetch_qt_deb()
{ {
if [ -f "${SSH_IDENTITY_FILE}" ]; if [ -f "${SSH_IDENTITY_FILE}" ];
then then
RSYNC_RSH="ssh -i ${SSH_IDENTITY_FILE}" export RSYNC_RSH="ssh -i ${SSH_IDENTITY_FILE}"
fi fi
echo "#####################" echo "#####################"
...@@ -269,7 +269,7 @@ function deploy() ...@@ -269,7 +269,7 @@ function deploy()
{ {
if [ -f "${SSH_IDENTITY_FILE}" ]; if [ -f "${SSH_IDENTITY_FILE}" ];
then then
RSYNC_RSH="ssh -i ${SSH_IDENTITY_FILE}" export RSYNC_RSH="ssh -i ${SSH_IDENTITY_FILE}"
fi fi
echo "##########################" echo "##########################"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment