File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed
Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ REPODIR="$(readlink -m "${0%/*}/..")"
1515cd " $REPODIR "
1616
1717export WORKDIR=" $REPODIR /run_workdir"
18- export PATH_APPEND =" ${PWD} /.bin"
18+ export PATH_PREPEND =" ${PWD} /.bin"
1919
2020# shellcheck disable=SC1090,SC1091
2121. .github/stop_cluster_instances.sh
@@ -169,7 +169,7 @@ _cleanup_testnet_on_interrupt() {
169169 # shellcheck disable=SC2016
170170 nix develop --accept-flake-config .# venv --command bash -c '
171171 . .github/setup_venv.sh
172- export PATH=" $PATH_APPEND " :" $PATH "
172+ export PATH=" $PATH_PREPEND " :" $PATH "
173173 export CARDANO_NODE_SOCKET_PATH=" $CARDANO_NODE_SOCKET_PATH_CI "
174174 cleanup_dir=" ${_PYTEST_CURRENT} /../cleanup-${_PYTEST_CURRENT##*/ } -script"
175175 mkdir " $cleanup_dir "
@@ -223,7 +223,7 @@ nix develop --accept-flake-config .#venv --command bash -c '
223223 echo " ::group::🧪 Testrun"
224224 printf " start: %(%H:%M:%S)T\n" -1
225225 df -h .
226- export PATH=" $PATH_APPEND " :" $PATH "
226+ export PATH=" $PATH_PREPEND " :" $PATH "
227227 export CARDANO_NODE_SOCKET_PATH=" $CARDANO_NODE_SOCKET_PATH_CI "
228228 retval=0
229229 make " ${MAKE_TARGET:- " tests" } " || retval=" $? "
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ nix build \
1616 -o cardano-cli-build || exit 1
1717[ -e cardano-cli-build/bin/cardano-cli ] || exit 1
1818
19- # Add `cardano-cli` to PATH_APPEND
20- PATH_APPEND =" ${PATH_APPEND : +" ${PATH_APPEND } :" } $( readlink -m cardano-cli-build/bin) "
21- export PATH_APPEND
19+ # Add `cardano-cli` to PATH_PREPEND
20+ PATH_PREPEND =" ${PATH_PREPEND : +" ${PATH_PREPEND } :" } $( readlink -m cardano-cli-build/bin) "
21+ export PATH_PREPEND
2222
2323cd " $_origpwd " || exit 1
2424unset _origpwd
Original file line number Diff line number Diff line change @@ -121,12 +121,12 @@ if [ ! -e db-sync-node/bin/cardano-db-sync ]; then
121121 exit 1
122122fi
123123
124- # Add `cardano-db-sync` and `cardano-smash-server` to PATH_APPEND
125- PATH_APPEND =" ${PATH_APPEND : +" ${PATH_APPEND } :" } $( readlink -m db-sync-node/bin) "
124+ # Add `cardano-db-sync` and `cardano-smash-server` to PATH_PREPEND
125+ PATH_PREPEND =" ${PATH_PREPEND : +" ${PATH_PREPEND } :" } $( readlink -m db-sync-node/bin) "
126126if [ -e smash-server/bin/cardano-smash-server ]; then
127- PATH_APPEND =" ${PATH_APPEND : +" ${PATH_APPEND } :" } $( readlink -m smash-server/bin) "
127+ PATH_PREPEND =" ${PATH_PREPEND : +" ${PATH_PREPEND } :" } $( readlink -m smash-server/bin) "
128128fi
129- export PATH_APPEND
129+ export PATH_PREPEND
130130
131131export DBSYNC_SCHEMA_DIR=" $PWD /schema"
132132
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ nix build \
1616 -o create-script-context-build || exit 1
1717[ -e create-script-context-build/bin/create-script-context ] || exit 1
1818
19- # Add `create-script-context` to PATH_APPEND
20- PATH_APPEND =" ${PATH_APPEND : +" ${PATH_APPEND } :" } $( readlink -m create-script-context-build/bin) "
21- export PATH_APPEND
19+ # Add `create-script-context` to PATH_PREPEND
20+ PATH_PREPEND =" ${PATH_PREPEND : +" ${PATH_PREPEND } :" } $( readlink -m create-script-context-build/bin) "
21+ export PATH_PREPEND
2222
2323cd " $_origpwd " || exit 1
2424unset _origpwd
You can’t perform that action at this time.
0 commit comments