|
60 | 60 | from easybuild.tools.build_log import DEVEL_LOG_LEVEL, EasyBuildError |
61 | 61 | from easybuild.tools.build_log import init_logging, log_start, print_msg, print_warning, raise_easybuilderror |
62 | 62 | from easybuild.tools.config import CONT_IMAGE_FORMATS, CONT_TYPES, DEFAULT_CONT_TYPE, DEFAULT_ALLOW_LOADED_MODULES |
63 | | -from easybuild.tools.config import DEFAULT_BRANCH, DEFAULT_ENVVAR_USERS_MODULES, DEFAULT_FORCE_DOWNLOAD |
64 | | -from easybuild.tools.config import DEFAULT_INDEX_MAX_AGE |
| 63 | +from easybuild.tools.config import DEFAULT_BRANCH, DEFAULT_ENV_FOR_SHEBANG, DEFAULT_ENVVAR_USERS_MODULES |
| 64 | +from easybuild.tools.config import DEFAULT_FORCE_DOWNLOAD, DEFAULT_INDEX_MAX_AGE |
65 | 65 | from easybuild.tools.config import DEFAULT_JOB_BACKEND, DEFAULT_LOGFILE_FORMAT, DEFAULT_MAX_FAIL_RATIO_PERMS |
66 | 66 | from easybuild.tools.config import DEFAULT_MINIMAL_BUILD_ENV, DEFAULT_MNS, DEFAULT_MODULE_SYNTAX, DEFAULT_MODULES_TOOL |
67 | 67 | from easybuild.tools.config import DEFAULT_MODULECLASSES, DEFAULT_PATH_SUBDIRS, DEFAULT_PKG_RELEASE, DEFAULT_PKG_TOOL |
@@ -375,7 +375,8 @@ def override_options(self): |
375 | 375 | None, 'store', None, 'e', {'metavar': 'CLASS'}), |
376 | 376 | 'enforce-checksums': ("Enforce availability of checksums for all sources/patches, so they can be verified", |
377 | 377 | None, 'store_true', False), |
378 | | - 'env-for-shebang': ("Define the env command to use when fixing shebangs", None, 'store', '/usr/bin/env'), |
| 378 | + 'env-for-shebang': ("Define the env command to use when fixing shebangs", None, 'store', |
| 379 | + DEFAULT_ENV_FOR_SHEBANG), |
379 | 380 | 'experimental': ("Allow experimental code (with behaviour that can be changed/removed at any given time).", |
380 | 381 | None, 'store_true', False), |
381 | 382 | 'extra-modules': ("List of extra modules to load after setting up the build environment", |
|
0 commit comments