#!/bin/bash
printhelp() {
+echo -robustroot set up the ROBUSTROOT to directory other than default one
echo -dsm distributed shared memory
echo -trueprob double - probabiltiy of true branch
echo -mac distributed shared memory mac support
echo -help help
}
-#ROBUSTROOT=~/research/Robust/src
-ROBUSTROOT=~/workspace/Robust/src
+ROBUSTROOT=~/research/Robust/src
DSMRUNTIME=$ROBUSTROOT/Runtime/DSTM/interface/
REPAIRROOT=~/research/Repair/RepairCompiler/
CURDIR=`pwd`
then
printhelp
exit
+elif [[ $1 = '-robustroot' ]]
+then
+ROBUSTROOT="$2"
+shift
elif [[ $1 = '-o' ]]
then
MAINFILE="$2"