Skip to content

Commit 938a1b4

Browse files
committed
fix
1 parent 7dd6277 commit 938a1b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

foundryup-zksync/foundryup-zksync

+2-2
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ main() {
197197
say "installed - $(ensure "$bin_path" --version)"
198198

199199
# Check if the default path of the binary is not in FOUNDRY_BIN_DIR
200-
which_path="$(command -v "$bin" || true)"
200+
which_path="$(command -v "$bin-zksync" || true)"
201201
if [ -n "$which_path" ] && [ "$which_path" != "$bin_path" ]; then
202202
warn ""
203203
cat 1>&2 <<EOF
@@ -421,7 +421,7 @@ use() {
421421
say "use - $(ensure "$bin_path" -V)"
422422

423423
# Check if the default path of the binary is not in FOUNDRY_BIN_DIR
424-
which_path="$(command -v "$bin" || true)"
424+
which_path="$(command -v "$bin-zksync" || true)"
425425
if [ -n "$which_path" ] && [ "$which_path" != "$bin_path" ]; then
426426
warn ""
427427
cat 1>&2 <<EOF

0 commit comments

Comments
 (0)