Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 259 Bytes
#!/bin/bash
if [[ ! -n "$B2G_DIR" ]]; then
B2G_DIR=$(cd `dirname $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