devops: fix firefox's archive.sh

This commit is contained in:
Andrey Lushnikov 2020-01-17 15:35:44 -08:00
parent 444f0d88f1
commit e750da376e

View file

@ -10,12 +10,6 @@ if [[ ("$1" == "-h") || ("$1" == "--help") ]]; then
exit 0 exit 0
fi fi
if [[ $# != 1 ]]; then
echo "error: missing zip output path"
echo "try '$(basename $0) --help' for details"
exit 1
fi
ZIP_PATH=$1 ZIP_PATH=$1
if [[ $ZIP_PATH != /* ]]; then if [[ $ZIP_PATH != /* ]]; then
echo "ERROR: path $ZIP_PATH is not absolute" echo "ERROR: path $ZIP_PATH is not absolute"