Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
27 lines (21 sloc) 0.591 kB
#!/bin/bash
if [[ ! -n "$B2G_DIR" ]]; then
B2G_DIR=$(cd `dirname ${BASH_SOURCE[0]}`; pwd)
fi
. "$B2G_DIR/.config"
if [ $? -ne 0 ]; then
echo Could not load .config. Did you run config.sh?
exit -1
fi
if [ -f "$B2G_DIR/.userconfig" ]; then
. "$B2G_DIR/.userconfig"
fi
# Use default Gecko location if it's not provided in config files.
if [ -z $GECKO_PATH ]; then
GECKO_PATH=$B2G_DIR/gecko
fi
VARIANT=${VARIANT:-eng}
PRODUCT_NAME=${PRODUCT_NAME:-full_${DEVICE}}
DEVICE=${DEVICE:-${PRODUCT_NAME}}
LUNCH=${LUNCH:-${PRODUCT_NAME}-${VARIANT}}
DEVICE_DIR=${DEVICE_DIR:-device/*/$DEVICE}
Jump to Line
Something went wrong with that request. Please try again.