-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove runtime dependency on SCL (#3952)
* Remove runtime dependency on SCL Also remove references to SCL Apache Fixes #3904 * Require runtime 4.0.2
- Loading branch information
Showing
10 changed files
with
17 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,4 @@ | ||
# For Software Collections 2.0 | ||
# Read the environment from /opt/ood/ondemand/enable | ||
# | ||
# 1. Read in environment variable SCL_PKGS which may be set in `sudo` call | ||
# otherwise fallback to default software collection packages. | ||
# | ||
# 2. Check if Software Collections is installed, then source the defined | ||
# package scripts. | ||
# | ||
SCL_PKGS=${SCL_PKGS:-"ondemand"} | ||
SCL_SOURCE="$(command -v scl_source)" | ||
DEB_SOURCE="/opt/ood/ondemand/enable" | ||
if [[ "${SCL_SOURCE}" ]]; then | ||
source "${SCL_SOURCE}" enable ${SCL_PKGS} | ||
else | ||
[[ -e "${DEB_SOURCE}" ]] && source "${DEB_SOURCE}" || : | ||
fi | ||
OOD_SOURCE="/opt/ood/ondemand/enable" | ||
[[ -e "${OOD_SOURCE}" ]] && source "${OOD_SOURCE}" || : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,4 @@ | ||
# For Software Collections 2.0 | ||
# Read the environment from /opt/ood/ondemand/enable | ||
# | ||
# 1. Read in environment variable SCL_PKGS which may be set in `sudo` call | ||
# otherwise fallback to default software collection packages. | ||
# | ||
# 2. Check if Software Collections is installed, then source the defined | ||
# package scripts. | ||
# | ||
SCL_PKGS=${SCL_PKGS:-"ondemand"} | ||
SCL_SOURCE="$(command -v scl_source)" | ||
DEB_SOURCE="/opt/ood/ondemand/enable" | ||
if [[ "${SCL_SOURCE}" ]]; then | ||
source "${SCL_SOURCE}" enable ${SCL_PKGS} | ||
else | ||
[[ -e "${DEB_SOURCE}" ]] && source "${DEB_SOURCE}" || : | ||
fi | ||
OOD_SOURCE="/opt/ood/ondemand/enable" | ||
[[ -e "${OOD_SOURCE}" ]] && source "${OOD_SOURCE}" || : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters