This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |