if [[ "$KIRIN_HOME" = "" ]] ; then 
	export KIRIN_HOME=`dirname $0`
fi
configuration=$1
if [[ "$configuration" = "" ]] ; then 
	configuration="Debug Release"
fi
rm -Rf $KIRIN_HOME/core/ios/KirinKit/build 2>/dev/null
for conf in $configuration ; do 
	node $KIRIN_HOME/build.js --ios --ios-configuration $conf --no-js-build --tests none
done

if [[ "$KIRIN_HOME" = "" ]] ; then 
	export KIRIN_HOME=`dirname $0`
fi
configuration=$1
if [[ "$configuration" = "" ]] ; then 
	configuration="Debug Release"
fi
rm -Rf $KIRIN_HOME/core/ios/KirinKit/build 2>/dev/null
for conf in $configuration ; do 
	env node $KIRIN_HOME/build.js --ios --ios-configuration $conf --no-js-build --tests none
done

Use env to look up node.
Use env to look up node.
