File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -116,20 +116,16 @@ bulletin-solo-zombienet-start runtime="bulletin-polkadot-runtime":
116116
117117 # Run zombienet from root directory so relative paths in config work correctly
118118 ZOMBIENET_CONFIG=$(cd .. && pwd)/ zombienet/ bulletin-westend-local.toml
119- cd ..
120- POLKADOT_BINARY_PATH=$POLKADOT_BINARY_PATH \
119+ (cd .. && POLKADOT_BINARY_PATH=$POLKADOT_BINARY_PATH \
121120 POLKADOT_PARACHAIN_BINARY_PATH=$POLKADOT_PARACHAIN_BINARY_PATH \
122- $ZOMBIENET_BIN -p native spawn --dir {{ ZOMBIENET_DIR }} $ZOMBIENET_CONFIG > / tmp/ zombienet.log 2 >&1 &
123- cd examples
121+ $ZOMBIENET_BIN -p native spawn --dir {{ ZOMBIENET_DIR }} $ZOMBIENET_CONFIG > / tmp/ zombienet.log 2 >&1 ) &
124122 else # bulletin-polkadot-runtime
125123 echo " Setting up Polkadot runtime..."
126124 # Build the node binary (which will build the runtime as a dependency)
127125 cargo build --release -p polkadot-bulletin-chain
128126 BULLETIN_BINARY=$(cd .. && pwd)/ target/ release/ polkadot-bulletin-chain
129127 ZOMBIENET_CONFIG=$(cd .. && pwd)/ zombienet/ bulletin-polkadot-local.toml
130- cd ..
131- POLKADOT_BULLETIN_BINARY_PATH=$BULLETIN_BINARY $ZOMBIENET_BIN -p native spawn --dir {{ ZOMBIENET_DIR }} $ZOMBIENET_CONFIG > / tmp/ zombienet.log 2 >&1 &
132- cd examples
128+ (cd .. && POLKADOT_BULLETIN_BINARY_PATH=$BULLETIN_BINARY $ZOMBIENET_BIN -p native spawn --dir {{ ZOMBIENET_DIR }} $ZOMBIENET_CONFIG > / tmp/ zombienet.log 2 >&1 ) &
133129 fi
134130 ZOMBIENET_PID=$!
135131 echo $ZOMBIENET_PID > {{ PID_DIR }} / zombienet.pid
You can’t perform that action at this time.
0 commit comments