зеркало из https://github.com/mozilla/gecko-dev.git
Bug 733530 Use tar instead of unzip in periodic updates r=catlee
Replace 'unzip -q' with 'tar -xvf' for tests .tar.gz Differential Revision: https://phabricator.services.mozilla.com/D1939 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
505c25cbf9
Коммит
bfb9512d42
|
@ -35,7 +35,7 @@ APP_NAME=''
|
||||||
HGHOST="hg.mozilla.org"
|
HGHOST="hg.mozilla.org"
|
||||||
STAGEHOST="archive.mozilla.org"
|
STAGEHOST="archive.mozilla.org"
|
||||||
WGET="wget -nv"
|
WGET="wget -nv"
|
||||||
UNZIP="unzip -q"
|
UNTAR="tar -zxf"
|
||||||
DIFF="$(command -v diff) -u"
|
DIFF="$(command -v diff) -u"
|
||||||
BASEDIR="${HOME}"
|
BASEDIR="${HOME}"
|
||||||
TOOLSDIR="${HOME}/tools"
|
TOOLSDIR="${HOME}/tools"
|
||||||
|
@ -182,7 +182,7 @@ function unpack_artifacts {
|
||||||
${UNPACK_CMD} "${BROWSER_ARCHIVE}"
|
${UNPACK_CMD} "${BROWSER_ARCHIVE}"
|
||||||
mkdir -p tests
|
mkdir -p tests
|
||||||
cd tests
|
cd tests
|
||||||
${UNZIP} "../${TESTS_ARCHIVE}"
|
${UNTAR} "../${TESTS_ARCHIVE}"
|
||||||
cd "${BASEDIR}"
|
cd "${BASEDIR}"
|
||||||
cp tests/bin/xpcshell "${PRODUCT}"
|
cp tests/bin/xpcshell "${PRODUCT}"
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче