Skip to content
Snippets Groups Projects
Commit 21f90484 authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

fix RSYNC_RSH var for deployment script

Change-Id: I2c02c37726fa2e2c6f404e681cce8bd35207e58e
parent 1acbde60
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,7 @@ EOF
function deploy()
{
if [ -f ${SSH_IDENTIY_FILE} ];
if [ -f "${SSH_IDENTIY_FILE}" ];
then
RSYNC_RSH="ssh -i ${SSH_IDENTIY_FILE}"
fi
......@@ -182,6 +182,7 @@ function deploy()
echo "##########################"
echo "## deploying repository ##"
echo "##########################"
echo "Using RSYNC_RSH='${RSYNC_RSH}'"
rsync --archive --recursive --verbose --delete ${DISTRIBUTION_REPOSITOIRY_FOLDER} ${REMOTE_REPOSITORY_LOCATION}
# deploy the manual download files
......
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