Skip to content

Commit

Permalink
dapp: remappings: fix transitive-imports flag
Browse files Browse the repository at this point in the history
  • Loading branch information
d-xo committed Sep 8, 2021
1 parent 35fa490 commit 070ecc4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/dapp/libexec/dapp/dapp
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,6 @@ if ! [[ $DAPP_INIT ]]; then
[[ $(pwd) != ~ && -e .dapprc ]] && . .dapprc
fi

export DAPP_SRC=${DAPP_SRC-src}
export DAPP_LIB=${DAPP_LIB-lib}
export DAPP_OUT=${DAPP_OUT-out}
export DAPP_JSON=${DAPP_JSON-${DAPP_OUT}/dapp.sol.json}
export DAPP_ROOT=${DAPP_ROOT-.}
export DAPP_REMAPPINGS=${DAPP_REMAPPINGS-"$(dapp-remappings)"}

if [[ $2 = --help ]]; then
exec "${0##*/}" help -- "$1"
elif [[ $DAPP_SOLC_VERSION ]]; then
Expand Down Expand Up @@ -184,6 +177,13 @@ while [[ $1 ]]; do
esac; shift
done

export DAPP_SRC=${DAPP_SRC-src}
export DAPP_LIB=${DAPP_LIB-lib}
export DAPP_OUT=${DAPP_OUT-out}
export DAPP_JSON=${DAPP_JSON-${DAPP_OUT}/dapp.sol.json}
export DAPP_ROOT=${DAPP_ROOT-.}
export DAPP_REMAPPINGS=${DAPP_REMAPPINGS-"$(dapp-remappings)"}

if ! [ -x "$(command -v "${0##*/}-${1-help}")" ]; then
# look for approximate matches
echo >&2 "'$1' is not a dapp command. See 'dapp help'."
Expand Down

0 comments on commit 070ecc4

Please sign in to comment.