From 1cf8a6c9d240bb498d5167a75b7a8aef362ef03e Mon Sep 17 00:00:00 2001 From: Jason Cobb Date: Mon, 6 Apr 2020 10:10:58 -0400 Subject: [PATCH] Use readlink -f instead of realpath in ASTImportTest.sh --- scripts/ASTImportTest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ASTImportTest.sh b/scripts/ASTImportTest.sh index f9172df0c..b3a1b6724 100755 --- a/scripts/ASTImportTest.sh +++ b/scripts/ASTImportTest.sh @@ -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