bug 1332930 - use simple filenames for tc periodic updates. r=rail
authorAki Sasaki <asasaki@mozilla.com>
Fri, 27 Jan 2017 14:22:16 -0800
changeset 7282 832aa9436615
parent 7281 1a97a3a9b39c
child 7283 5dec772a8d52
push id5422
push userasasaki@mozilla.com
push dateFri, 27 Jan 2017 22:22:20 +0000
reviewersrail
bugs1332930
bug 1332930 - use simple filenames for tc periodic updates. r=rail
scripts/periodic_file_updates/periodic_file_updates.sh
--- a/scripts/periodic_file_updates/periodic_file_updates.sh
+++ b/scripts/periodic_file_updates/periodic_file_updates.sh
@@ -664,16 +664,20 @@ if [ "${USE_MC}" == "true" ]; then
 fi
 
 BROWSER_ARCHIVE="${PRODUCT}-${VERSION}.en-US.${PLATFORM}.${PLATFORM_EXT}"
 TESTS_ARCHIVE="${PRODUCT}-${VERSION}.en-US.${PLATFORM}.common.tests.zip"
 if [ "${USE_MC}" == "true" ]; then
     BROWSER_ARCHIVE="${PRODUCT}-${MCVERSION}.en-US.${PLATFORM}.${PLATFORM_EXT}"
     TESTS_ARCHIVE="${PRODUCT}-${MCVERSION}.en-US.${PLATFORM}.common.tests.zip"
 fi
+if [ "${USE_TC}" == "true" ] ; then
+    BROWSER_ARCHIVE="target.${PLATFORM_EXT}"
+    TESTS_ARCHIVE="target.common.tests.zip"
+fi
 
 # Try to find hgtool if it hasn't been set.
 if [ ! -f "${HGTOOL}" ]; then
     HGTOOL=`which hgtool.py 2>/dev/null | head -n1`
 fi
 
 preflight_cleanup
 if [ "${DO_HSTS}" == "true" -o "${DO_HPKP}" == "true" ]; then