Mercurial > MadButterfly
view nodejs/run.sh @ 1126:20e15872f3df
Fix bug of passing wrong object to eglQuerySurface().
It supposed to pass EGLSurface to eglQuerySurface(), but a
mbe_surface_t was passed.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 13 Dec 2010 20:19:34 +0800 |
parents | bced6fe39856 |
children |
line wrap: on
line source
#!/bin/sh ABS=`realpath $0` if [ -z "$SRCDIR" ]; then SRCDIR=`dirname $ABS`/.. fi if [ -z "$BUILDDIR" ]; then BUILDDIR=`dirname $ABS`/.. fi NODE_PATH=${BUILDDIR}/nodejs/objs/default:${SRCDIR}/nodejs:$NODE_PATH export NODE_PATH LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${BUILDDIR}/src/.libs/ export LD_LIBRARY_PATH DIR=`dirname $1` FNAME=`basename $1` if [ -z "$DEBUG" ]; then cd $DIR; node $FNAME else # DEBUG cd $DIR; gdb -args node $FNAME fi