Allow running from root of gmqcc repo as well.

This commit is contained in:
Dale Weiler 2013-09-11 16:50:33 -04:00
parent f44c127fbd
commit 207d391fcd

View file

@ -76,6 +76,9 @@ env -i type gmqcc 1>/dev/null 2>&1 || {
if [ -f ../gmqcc ]; then
echo "found previous build of gmqcc, using it"
gmqcc_bin="$(pwd)/../gmqcc"
elif [ -f ./gmqcc ]; then
echo "found previous build of gmqcc, using it"
gmqcc_bin="$(pwd)/gmqcc"
else
echo "gmqcc not installed, and previous build doesn't exist"
echo "please run make, or make install"