Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ function fetch_qt_deb()
{
if [ -f "${SSH_IDENTITY_FILE}" ];
then
RSYNC_RSH="ssh -i ${SSH_IDENTITY_FILE}"
export RSYNC_RSH="ssh -i ${SSH_IDENTITY_FILE}"
fi
echo "#####################"
......@@ -269,7 +269,7 @@ function deploy()
{
if [ -f "${SSH_IDENTITY_FILE}" ];
then
RSYNC_RSH="ssh -i ${SSH_IDENTITY_FILE}"
export RSYNC_RSH="ssh -i ${SSH_IDENTITY_FILE}"
fi
echo "##########################"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment