mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Declare variables separately when assigning the result of $()
This commit is contained in:
@@ -121,8 +121,8 @@ function test_solc_behaviour()
|
||||
local stderr_expected="${7}"
|
||||
local stdout_expectation_file="${8}" # the file to write to when user chooses to update stdout expectation
|
||||
local stderr_expectation_file="${9}" # the file to write to when user chooses to update stderr expectation
|
||||
local stdout_path=$(mktemp)
|
||||
local stderr_path=$(mktemp)
|
||||
local stdout_path; stdout_path=$(mktemp)
|
||||
local stderr_path; stderr_path=$(mktemp)
|
||||
|
||||
trap "rm -f $stdout_path $stderr_path" EXIT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user