Skip to content

Commit c021dba

Browse files
committed
Ensure the local plugin directory exists
1 parent 7f36d78 commit c021dba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.envrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ PATH_add build
88
export AVALANCHEGO_PATH=$PWD/build/avalanchego
99

1010
# Configure the local plugin directory for both avalanchego and tmpnet usage
11-
export AVAGO_PLUGIN_DIR=$PWD/build/plugins
11+
mkdir -p $PWD/build/plugins # avalanchego will FATAL if the directory does not exist
12+
export AVAGO_PLUGIN_DIR="${AVAGO_PLUGIN_DIR:-$PWD/build/plugins}" # Use an existing value if set

0 commit comments

Comments
 (0)