summaryrefslogtreecommitdiffstats
path: root/taskcluster/scripts/builder/install-packages.sh
blob: 2f5cdf48924eb233a8303e57c71b58c28bab07f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash -vex

gecko_dir=$1
test -d $gecko_dir
test -n "$TOOLTOOL_CACHE"
test -n "$TOOLTOOL_MANIFEST"
test -n "$TOOLTOOL_REPO"
test -n "$TOOLTOOL_REV"

tc-vcs checkout $gecko_dir/tooltool $TOOLTOOL_REPO $TOOLTOOL_REPO $TOOLTOOL_REV

(cd $gecko_dir; python $gecko_dir/tooltool/tooltool.py --url https://api.pub.build.mozilla.org/tooltool/ -m $gecko_dir/$TOOLTOOL_MANIFEST fetch -c $TOOLTOOL_CACHE)