@@ -18,7 +18,7 @@ setup-westend-prerequisites:
1818 POLKADOT_SDK_DIR=~ / local_bulletin_testing/ polkadot-sdk
1919
2020 if [[ " $OSTYPE" == " darwin" * ]]; then
21- export DYLD_FALLBACK_LIBRARY_PATH=/ Library / Developer / CommandLineTools / usr / lib
21+ export DYLD_FALLBACK_LIBRARY_PATH=$(brew --prefix) / lib
2222 fi
2323
2424 echo " 🔧 Setting up Westend runtime prerequisites..."
@@ -45,7 +45,7 @@ setup-westend-prerequisites:
4545
4646 # Build polkadot binary
4747 echo " Building polkadot binary (this may take a while)..."
48- DYLD_FALLBACK_LIBRARY_PATH= / Library / Developer / CommandLineTools / usr / lib cargo build -p polkadot -r
48+ cargo build -p polkadot -r
4949
5050 # Verify and copy polkadot binaries
5151 echo " Copying polkadot binaries..."
@@ -59,7 +59,7 @@ setup-westend-prerequisites:
5959
6060 # Build polkadot-parachain binary
6161 echo " Building polkadot-parachain binary (this may take a while)..."
62- DYLD_FALLBACK_LIBRARY_PATH= / Library / Developer / CommandLineTools / usr / lib cargo build -p polkadot-parachain-bin -r
62+ cargo build -p polkadot-parachain-bin -r
6363
6464 # Verify and copy polkadot-parachain binary
6565 echo " Copying polkadot-parachain binary..."
@@ -71,7 +71,7 @@ setup-westend-prerequisites:
7171
7272 # Build and install chain-spec-builder
7373 echo " Building chain-spec-builder..."
74- DYLD_FALLBACK_LIBRARY_PATH= / Library / Developer / CommandLineTools / usr / lib cargo build -p staging-chain-spec-builder -r
74+ cargo build -p staging-chain-spec-builder -r
7575
7676 # Verify and copy chain-spec-builder binary
7777 echo " Copying chain-spec-builder binary..."
@@ -168,7 +168,7 @@ bulletin-solo-zombienet-start runtime="bulletin-polkadot-runtime":
168168 else # bulletin-polkadot-runtime
169169 echo " Setting up Polkadot runtime..."
170170 # Build the node binary (which will build the runtime as a dependency)
171- DYLD_FALLBACK_LIBRARY_PATH= / Library / Developer / CommandLineTools / usr / lib cargo build --release -p polkadot-bulletin-chain
171+ cargo build --release -p polkadot-bulletin-chain
172172 BULLETIN_BINARY=$(cd .. && pwd)/ target/ release/ polkadot-bulletin-chain
173173 ZOMBIENET_CONFIG=$(cd .. && pwd)/ zombienet/ bulletin-polkadot-local.toml
174174 cd ..
0 commit comments