infrastructure-upgrade/script/setup.sh

6 lines
349 B
Bash
Raw Normal View History

2023-04-08 21:46:18 +03:00
#!/bin/bash
sed '2s/0\.7\.0/0.6.12/g' lib/v3-core/contracts/libraries/LowGasSafeMath.sol > lib/v3-core/contracts/libraries/LowGasSafeMath.sol.temp
rm lib/v3-core/contracts/libraries/LowGasSafeMath.sol
# Too busy to read up on how I can not fuck up by overwriting file with sed right now
mv lib/v3-core/contracts/libraries/LowGasSafeMath.sol{.temp,}