зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1386402 - Change mar generation scripts to exit with an error if xz is not found on the system. r=bhearsum
This commit is contained in:
Родитель
88ff15a541
Коммит
c86980aa3c
|
@ -14,6 +14,12 @@ MAR=${MAR:-mar}
|
|||
MBSDIFF=${MBSDIFF:-mbsdiff}
|
||||
if [[ -z "${MAR_OLD_FORMAT}" ]]; then
|
||||
XZ=${XZ:-xz}
|
||||
$XZ --version > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "xz was not found on this system!"
|
||||
echo "exiting"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
MAR_OLD_FORMAT=1
|
||||
BZIP2=${BZIP2:-bzip2}
|
||||
|
|
Загрузка…
Ссылка в новой задаче