Bug 1381770 - Use $WORKSPACE instead of $HOME/workspace in tooltool-download.sh. r=mshal
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 18 Jul 2017 14:49:05 +0900
changeset 418471 5dbf26e7d92dff72f58a6cc8863d6f2dd8ba22de
parent 418470 edca2b43880708121a7a4a5930ed4feee77de5a2
child 418472 688c2808b32cb967f0493625cac162094b044a6b
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1381770
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1381770 - Use $WORKSPACE instead of $HOME/workspace in tooltool-download.sh. r=mshal All the current users of tooltool-download.sh set $WORKSPACE. This will allow to reuse the script on different types of workers, that don't have $WORKSPACE set to $HOME/workspace, but still have the source in $WORKSPACE/build/src.
taskcluster/scripts/misc/tooltool-download.sh
--- a/taskcluster/scripts/misc/tooltool-download.sh
+++ b/taskcluster/scripts/misc/tooltool-download.sh
@@ -1,10 +1,10 @@
 # Fetch a tooltool manifest.
 
-cd $HOME/workspace/build/src
+cd $WORKSPACE/build/src
 
 : TOOLTOOL_CACHE                ${TOOLTOOL_CACHE:=/home/worker/tooltool-cache}
 export TOOLTOOL_CACHE
 
 ./mach artifact toolchain -v --tooltool-url=http://relengapi/tooltool/ --tooltool-manifest "${TOOLTOOL_MANIFEST}"${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}}
 
 cd $OLDPWD