mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use consistent syntax for Bash function declarations
This commit is contained in:
@@ -83,7 +83,8 @@ for arg in "$@"; do
|
||||
esac
|
||||
done
|
||||
|
||||
show_output_if() {
|
||||
function show_output_if
|
||||
{
|
||||
local VAR=${1}
|
||||
if [ -n "${VAR}" ]; then
|
||||
echo "${SOL_FILE}"
|
||||
@@ -102,7 +103,8 @@ if [ ! -f "${SOLC}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
test_file() {
|
||||
function test_file
|
||||
{
|
||||
local SOL_FILE
|
||||
local OUTPUT
|
||||
SOL_FILE=${1}
|
||||
|
||||
Reference in New Issue
Block a user