File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 35
35
"DIRAC_USE_JSON_ENCODE" : None ,
36
36
"INSTALLATION_BRANCH" : "" ,
37
37
"DEBUG" : "Yes" ,
38
+ "DIRACX_REPO" : "" ,
39
+ "DIRACX_BRANCH" : "" ,
38
40
}
39
41
DIRACX_OPTIONS = ()
40
42
DEFAULT_MODULES = {"DIRAC" : Path (__file__ ).parent .absolute ()}
Original file line number Diff line number Diff line change @@ -311,9 +311,9 @@ function installDIRACX() {
311
311
for wheel_name in " $@ " ; do
312
312
if [[ -n " ${DIRACX_CUSTOM_SOURCE_PREFIXES:- } " ]]; then
313
313
wheels=( $( find " ${DIRACX_CUSTOM_SOURCE_PREFIXES} " -name " diracx_${wheel_name} -*.whl" ) )
314
- if [[ ! ${# wheels[@]} -eq 1 ]]; then
315
- echo " ERROR: Multiple or no wheels found for ${wheel_name} in ${DIRACX_CUSTOM_SOURCE_PREFIXES }"
316
- exit 1
314
+ if [[ ${# wheels[@]} -ne 1 ]]; then
315
+ echo " ERROR: Multiple or no wheels found for ${wheel_name} "
316
+ exit 1
317
317
fi
318
318
pip install " ${wheels[0]} "
319
319
else
You can’t perform that action at this time.
0 commit comments