aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/deploy-azure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh
index 23573df82..5f7666bb0 100644
--- a/scripts/deploy-azure.sh
+++ b/scripts/deploy-azure.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-export SYSTEM_PULLREQUEST_PULLREQUESTID = $SYSTEM_PULLREQUEST_PULLREQUESTID | xargs
+export SYSTEM_PULLREQUEST_PULLREQUESTID="$(echo -e '${SYSTEM_PULLREQUEST_PULLREQUESTID}' | xargs)"
# Build and deploy on master branch, only if not a pull request
if [[ ($BUILD_SOURCEBRANCHNAME == 'master') && ($SYSTEM_PULLREQUEST_PULLREQUESTID == '') ]]; then