Commit e5fb47d1 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: default values assuming tools are cloned to root dir of this repo

parent 0baaed18
#!/bin/bash #!/bin/bash
if [ ! -f local-config.sh ] ; then EHSIM_BASE="$(readlink -f $(dirname ${BASH_SOURCE[0]})/..)"
echo "local-config.sh does not exist" QEMU_CMD="$EHSIM_BASE/qemu/x86_64-softmmu/qemu-system-x86_64"
exit 1 GEM5_BASE="$EHSIM_BASE/gem5"
NS3_BASE="$EHSIM_BASE/ns-3"
if [ -f local-config.sh ] ; then
source local-config.sh
fi fi
source local-config.sh
if [ ! -d "$EHSIM_BASE" ] ; then if [ ! -d "$EHSIM_BASE" ] ; then
echo "\$EHSIM_BASE should be set to the absolute path of the root"\ echo "\$EHSIM_BASE should be set to the absolute path of the root"\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment