Browse Source

Don't overwrite 'CHUTNEY_DATA_DIR' in 'bootstrap-network.sh'

This isn't needed and Chutney behaves fine without it.
Steven Engler 2 years ago
parent
commit
b608f06a3e
1 changed files with 0 additions and 10 deletions
  1. 0 10
      tools/bootstrap-network.sh

+ 0 - 10
tools/bootstrap-network.sh

@@ -24,16 +24,6 @@ if [ -d "$PWD/$CHUTNEY_PATH" ] && [ -x "$PWD/$CHUTNEY_PATH/chutney" ]; then
     export CHUTNEY_PATH="$PWD/$CHUTNEY_PATH"
 fi
 
-# Get a working net path
-if [ ! -d "$CHUTNEY_DATA_DIR" ]; then
-    # looks like a broken path: use the chutney path as a base
-    export CHUTNEY_DATA_DIR="$CHUTNEY_PATH/net"
-fi
-if [ -d "$PWD/$CHUTNEY_DATA_DIR" ]; then
-    # looks like a relative path: make chutney path absolute
-    export CHUTNEY_DATA_DIR="$PWD/$CHUTNEY_DATA_DIR"
-fi
-
 CHUTNEY="$CHUTNEY_PATH/chutney"
 myname=$(basename "$0")