mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
docs_version_pragma_check.sh: Set SOLC only for the duration of compileFull
- This is a global variable and would be better to just make it a parameter. At least this makes shellcheck shut up
This commit is contained in:
parent
e8a70e8e4b
commit
87f9eba1cf
@ -188,8 +188,7 @@ SOLTMPDIR=$(mktemp -d)
|
||||
ln -sf "$solc_bin" "solc"
|
||||
chmod a+x solc
|
||||
|
||||
SOLC="$SOLTMPDIR/solc"
|
||||
compileFull "${opts[@]}" "$SOLTMPDIR/$f"
|
||||
SOLC="$SOLTMPDIR/solc" compileFull "${opts[@]}" "$SOLTMPDIR/$f"
|
||||
done
|
||||
)
|
||||
rm -rf "$SOLTMPDIR"
|
||||
|
Loading…
Reference in New Issue
Block a user