File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
test/functional/test_framework Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -185,8 +185,18 @@ def setup(self):
185
185
config = configparser .ConfigParser ()
186
186
config .read_file (open (self .options .configfile ))
187
187
self .config = config
188
- self .options .bitcoind = os .getenv ("BITCOIND" , default = config ["environment" ]["BUILDDIR" ] + '/src/bitcoind' + config ["environment" ]["EXEEXT" ])
189
- self .options .bitcoincli = os .getenv ("BITCOINCLI" , default = config ["environment" ]["BUILDDIR" ] + '/src/bitcoin-cli' + config ["environment" ]["EXEEXT" ])
188
+ fname_bitcoind = os .path .join (
189
+ config ["environment" ]["BUILDDIR" ],
190
+ "src" ,
191
+ "bitcoind" + config ["environment" ]["EXEEXT" ]
192
+ )
193
+ fname_bitcoincli = os .path .join (
194
+ config ["environment" ]["BUILDDIR" ],
195
+ "src" ,
196
+ "bitcoin-cli" + config ["environment" ]["EXEEXT" ]
197
+ )
198
+ self .options .bitcoind = os .getenv ("BITCOIND" , default = fname_bitcoind )
199
+ self .options .bitcoincli = os .getenv ("BITCOINCLI" , default = fname_bitcoincli )
190
200
191
201
self .options .previous_releases_path = os .getenv ("PREVIOUS_RELEASES_DIR" ) or os .getcwd () + "/releases"
192
202
You can’t perform that action at this time.
0 commit comments