We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d47b73a commit 6bdc8e3Copy full SHA for 6bdc8e3
scripts/ci_test_etherscan.sh
@@ -110,8 +110,8 @@ then
110
exit 255
111
fi
112
113
-dir_name=$(ls crytic-export/etherscan-contracts/ | grep 0x9AB6b21cDF116f611110b048987E58894786C244)
114
-cd crytic-export/etherscan-contracts/$dir_name
+dir_name=$(find crytic-export/etherscan-contracts/ -type d -name "*0x9AB6b21cDF116f611110b048987E58894786C244*" -print -quit)
+cd "$dir_name" || { echo "Failed to change directory"; exit 255; }
115
116
if [ ! -f crytic_compile.config.json ]; then
117
echo "crytic_compile.config.json does not exist"
0 commit comments