+src_root="../.."
+if [[ -d $src_root/.build ]] # look for build directory in expected places
+then # run scripts will honour this
+ export BUILD_PATH=$src_root/.build
+else
+ if [[ -d $src_root/build ]]
+ then
+ export BUILD_PATH=$src_root/build
+ fi
+fi
+
+if whence ksh >/dev/null 2>&1
+then
+ shell=ksh
+else
+ shell=bash
+fi