Skip to content

Commit 559b654

Browse files
committed
in cryo_test remove existing symlinks prior to creation
1 parent 39f7da1 commit 559b654

File tree

1 file changed

+2
-0
lines changed
  • crates/python/python/cryo_test/examples/ethers_vs_alloy

1 file changed

+2
-0
lines changed

crates/python/python/cryo_test/examples/ethers_vs_alloy/build_cryo

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ if [ "$BUILD_ALLOY" = true ]; then
5353
--root "$ROOT_DIR/build/alloy"
5454

5555
# link to built binary
56+
rm -f "$ROOT_DIR/bin/cryo_alloy"
5657
ln -s "$ROOT_DIR/build/alloy/bin/cryo" "$ROOT_DIR/bin/cryo_alloy"
5758
echo ""
5859
echo "built cryo alloy at: $ROOT_DIR/bin/cryo_alloy"
@@ -73,6 +74,7 @@ if [ "$BUILD_ETHERS" = true ]; then
7374
--root "$ROOT_DIR/build/ethers"
7475

7576
# link to built binary
77+
rm -f "$ROOT_DIR/bin/cryo_ethers"
7678
ln -s "$ROOT_DIR/build/ethers/bin/cryo" "$ROOT_DIR/bin/cryo_ethers"
7779
echo ""
7880
echo "built cryo ethers at: $ROOT_DIR/bin/cryo_ethers"

0 commit comments

Comments
 (0)