summaryrefslogtreecommitdiffstats
path: root/security/nss/automation/taskcluster/windows/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/automation/taskcluster/windows/build.sh')
-rw-r--r--security/nss/automation/taskcluster/windows/build.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/security/nss/automation/taskcluster/windows/build.sh b/security/nss/automation/taskcluster/windows/build.sh
index 46136153d..eebb41535 100644
--- a/security/nss/automation/taskcluster/windows/build.sh
+++ b/security/nss/automation/taskcluster/windows/build.sh
@@ -2,12 +2,12 @@
set -v -e -x
-# Set up the toolchain.
-if [ "$USE_64" = 1 ]; then
- source $(dirname $0)/setup64.sh
+if [[ "$USE_64" == 1 ]]; then
+ m=x64
else
- source $(dirname $0)/setup32.sh
+ m=x86
fi
+source "$(dirname "$0")/setup.sh"
# Clone NSPR.
hg_clone https://hg.mozilla.org/projects/nspr nspr default