mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
scripts/soltest.sh: Disable the warning about missing quotes around $DEBUGGER
- There are ways to fix the warning properly but they're all less readable than this in my opinion.
This commit is contained in:
parent
4a7d494d3c
commit
cba6e6814b
@ -60,8 +60,12 @@ do
|
||||
esac
|
||||
shift
|
||||
done
|
||||
if [ "$USE_DEBUGGER" -ne "0" ]; then
|
||||
DEBUG_PREFIX=${DEBUGGER}
|
||||
fi
|
||||
|
||||
exec ${DEBUG_PREFIX} "${SOLIDITY_BUILD_DIR}/test/soltest" "${BOOST_OPTIONS[@]}" -- --testpath "${REPO_ROOT}/test" "${SOLTEST_OPTIONS[@]}"
|
||||
SOLTEST_COMMAND=("${SOLIDITY_BUILD_DIR}/test/soltest" "${BOOST_OPTIONS[@]}" -- --testpath "${REPO_ROOT}/test" "${SOLTEST_OPTIONS[@]}")
|
||||
|
||||
if [ "$USE_DEBUGGER" -ne "0" ]; then
|
||||
# shellcheck disable=SC2086
|
||||
exec ${DEBUGGER} "${SOLTEST_COMMAND[@]}"
|
||||
else
|
||||
exec "${SOLTEST_COMMAND[@]}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user