Use readlink -f instead of realpath in ASTImportTest.sh

This commit is contained in:
Jason Cobb 2020-04-06 10:10:58 -04:00
parent 806c835647
commit 1cf8a6c9d2
No known key found for this signature in database
GPG Key ID: 2A3F6A6DCA1E8DED

View File

@ -4,7 +4,7 @@
# first exporting a .sol file to JSON, then loading it into the compiler
# and exporting it again. The second JSON should be identical to the first
REPO_ROOT=$(realpath "$(dirname "$0")"/..)
REPO_ROOT=$(readlink -f "$(dirname "$0")"/..)
SOLIDITY_BUILD_DIR=${SOLIDITY_BUILD_DIR:-build}
SOLC=${REPO_ROOT}/${SOLIDITY_BUILD_DIR}/solc/solc
SPLITSOURCES=${REPO_ROOT}/scripts/splitSources.py