On Wednesday 03 August 2011 14:50:45 Darren Hart wrote: > if [ "$BDIR" == "/" ]; then > echo "ERROR: / is not supported as a build directory." > exit 1 > fi > BDIR=${BDIR%/}
Works fine here - the only thing I'd suggest is use "=" instead of "==" as I think "==" is a bashism (at least dash doesn't like it - not that we support dash but we at least want the user to get past the setup script so they can get a proper error from sanity.bbclass). Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core