diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-04-25 21:33:33 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-25 21:33:33 +0200 |
commit | fba28f19754f62b5227650143d5441fc86d4c7d7 (patch) | |
tree | 26629d73f83543ff92a060fd7b310bb748b13173 /security/nss/automation/taskcluster/docker-decision/bin/checkout.sh | |
parent | b4154e043bfc0d2f301d88304efc896989d650bf (diff) | |
download | uxp-fba28f19754f62b5227650143d5441fc86d4c7d7.tar.gz |
Revert "Update NSS to 3.35-RTM"
This reverts commit f1a0f0a56fdd0fc39f255174ce08c06b91c66c94.
Diffstat (limited to 'security/nss/automation/taskcluster/docker-decision/bin/checkout.sh')
-rw-r--r-- | security/nss/automation/taskcluster/docker-decision/bin/checkout.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/security/nss/automation/taskcluster/docker-decision/bin/checkout.sh b/security/nss/automation/taskcluster/docker-decision/bin/checkout.sh index 0cdd2ac405..9167f6bda6 100644 --- a/security/nss/automation/taskcluster/docker-decision/bin/checkout.sh +++ b/security/nss/automation/taskcluster/docker-decision/bin/checkout.sh @@ -2,6 +2,11 @@ set -v -e -x +if [ $(id -u) = 0 ]; then + # Drop privileges by re-running this script. + exec su worker $0 +fi + # Default values for testing. REVISION=${NSS_HEAD_REVISION:-default} REPOSITORY=${NSS_HEAD_REPOSITORY:-https://hg.mozilla.org/projects/nss} |