Skip to content

Commit

Permalink
fixed referenced script issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderwolz committed Jun 15, 2024
1 parent f6f7e9f commit 78a5511
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions bin/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ do
echo $RET
fi
else
echo " Network $NETWORK already exists, skipping"
if [ -z $SCRIPT_DIR ]; then
echo " Network $NETWORK already exists, skipping"
fi
fi
done

Expand All @@ -46,7 +48,9 @@ do
echo $RET
fi
else
echo " Volume $VOLUME already exists, skipping"
if [ -z $SCRIPT_DIR ]; then
echo " Volume $VOLUME already exists, skipping"
fi
fi
done

Expand Down
2 changes: 1 addition & 1 deletion bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function doRun(){
echo "Using env file: $ENV_FILE"
fi

. $SCRIPT_DIR/networks.sh
. $SCRIPT_DIR/bootstrap.sh

if [ $TEAR_DOWN ]; then
#TODO: only restart or tear down and up again?
Expand Down

0 comments on commit 78a5511

Please sign in to comment.