Skip to content

Commit

Permalink
setenv: Exported INET_ROOT and extracted INET_NED_PATH for reuse in o…
Browse files Browse the repository at this point in the history
…ther scripts.
  • Loading branch information
levy committed Sep 12, 2018
1 parent 6aaf815 commit f297897
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setenv
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ if [ ! -f bin/inet ]; then
echo "Error: current working directory does not look like an INET root directory"
# no exit -- it would close the shell
else
INET_ROOT=`pwd`
export INET_ROOT=`pwd`
echo $INET_ROOT
export PATH=$INET_ROOT/bin:$PATH
export INET_OMNETPP_OPTIONS="-n $INET_ROOT/src:$INET_ROOT/tutorials:$INET_ROOT/showcases:$INET_ROOT/examples --image-path=$INET_ROOT/images"
export INET_NED_PATH="$INET_ROOT/src:$INET_ROOT/tutorials:$INET_ROOT/showcases:$INET_ROOT/examples"
export INET_OMNETPP_OPTIONS="-n $INET_NED_PATH --image-path=$INET_ROOT/images"
export INET_GDB_OPTIONS="-quiet -ex run --args"
export INET_VALGRIND_OPTIONS="-v --tool=memcheck --leak-check=yes --show-reachable=no --leak-resolution=high --num-callers=40 --freelist-vol=4000000"
fi
Expand Down

0 comments on commit f297897

Please sign in to comment.