Skip to content

Instantly share code, notes, and snippets.

@swarnava
swarnava / boot2gecko.sh
Last active Dec 29, 2015 — forked from stasm/boot2gecko.sh
Convenience script for running and updating the B2G desktop builds
View boot2gecko.sh
#!/bin/bash
HERE=$(cd `dirname $0`; pwd)
if [ $# -eq 0 ]; then
if [[ ! -d "$HERE/b2g" || ! -d "$HERE/gaia" ]]; then
echo "The b2g and/or gaia directories appear to be missing."
echo "Run '$0 update' first."
exit 1
fi