Skip to content

Commit 2e25146

Browse files
committed
dapp: remappings: fix transitive-imports flag
1 parent 9df52bb commit 2e25146

File tree

1 file changed

+7
-7
lines changed
  • src/dapp/libexec/dapp

1 file changed

+7
-7
lines changed

src/dapp/libexec/dapp/dapp

+7-7
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,6 @@ if ! [[ $DAPP_INIT ]]; then
106106
[[ $(pwd) != ~ && -e .dapprc ]] && . .dapprc
107107
fi
108108

109-
export DAPP_SRC=${DAPP_SRC-src}
110-
export DAPP_LIB=${DAPP_LIB-lib}
111-
export DAPP_OUT=${DAPP_OUT-out}
112-
export DAPP_JSON=${DAPP_JSON-${DAPP_OUT}/dapp.sol.json}
113-
export DAPP_ROOT=${DAPP_ROOT-.}
114-
export DAPP_REMAPPINGS=${DAPP_REMAPPINGS-"$(dapp-remappings)"}
115-
116109
if [[ $2 = --help ]]; then
117110
exec "${0##*/}" help -- "$1"
118111
elif [[ $DAPP_SOLC_VERSION ]]; then
@@ -176,6 +169,13 @@ while [[ $1 ]]; do
176169
esac; shift
177170
done
178171

172+
export DAPP_SRC=${DAPP_SRC-src}
173+
export DAPP_LIB=${DAPP_LIB-lib}
174+
export DAPP_OUT=${DAPP_OUT-out}
175+
export DAPP_JSON=${DAPP_JSON-${DAPP_OUT}/dapp.sol.json}
176+
export DAPP_ROOT=${DAPP_ROOT-.}
177+
export DAPP_REMAPPINGS=${DAPP_REMAPPINGS-"$(dapp-remappings)"}
178+
179179
if ! [ -x "$(command -v "${0##*/}-${1-help}")" ]; then
180180
# look for approximate matches
181181
echo >&2 "'$1' is not a dapp command. See 'dapp help'."

0 commit comments

Comments
 (0)