Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Pmodules
buildblocks
Commits
01da16a7
Commit
01da16a7
authored
Mar 05, 2015
by
gsell
Browse files
Merge branch 'master' of gitorious.psi.ch:scicomp/psi-modules-buildenvironment
parents
ad05aee0
a7cf676c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lib/libem.bash
lib/libem.bash
+2
-1
scripts/Bootstrap/install_pmodules.sh
scripts/Bootstrap/install_pmodules.sh
+3
-0
No files found.
lib/libem.bash
View file @
01da16a7
...
...
@@ -25,7 +25,7 @@ declare -xr BUILD_TMPDIR="${BUILD_BASEDIR}/tmp"
declare
-xr
BUILD_DOWNLOADSDIR
=
"
${
BUILD_BASEDIR
}
/Downloads"
declare
-xr
BUILD_VERSIONSFILE
=
"
${
BUILD_CONFIGDIR
}
/versions.conf"
declare
-xr
PSI_TEMPLATES_DIR
=
'templates'
#
declare -xr PSI_TEMPLATES_DIR='templates'
if
[[
-z
"
${
BUILD_CONFIGDIR
}
/families.d/"
*
.conf
]]
;
then
die 1
"Default family configuration not set in
${
BUILD_CONFIGDIR
}
/families.d"
...
...
@@ -226,6 +226,7 @@ function _load_build_dependencies() {
# this merge is not as easy as it looks like at a first glance!
for
m
in
"
${
with_modules
[@]
}
"
;
do
if
module_is_available
"
$m
"
;
then
echo
"Loading module:
${
m
}
"
module load
"
${
m
}
"
else
die 44
"
$m
: module not available!"
...
...
scripts/Bootstrap/install_pmodules.sh
View file @
01da16a7
...
...
@@ -25,6 +25,9 @@ install -m 0755 "${SRC_DIR}/modmanage" "${PMODULES_HOME}/bin"
install
-m
0755
"
${
SRC_DIR
}
/modmanage.bash"
"
${
PMODULES_HOME
}
/bin"
install
-m
0755
"
${
SRC_DIR
}
/dialog.bash"
"
${
PMODULES_HOME
}
/bin"
install
-m
0755
"
${
SRC_DIR
}
/environment.bash"
"
${
PMODULES_HOME
}
/config"
install
-m
0755
"
${
SRC_DIR
}
/profile.bash"
"
${
PMODULES_HOME
}
/config"
install
-m
0644
"
${
SRC_DIR
}
/bash"
"
${
PMODULES_HOME
}
/init"
install
-m
0644
"
${
SRC_DIR
}
/bash_completion"
"
${
PMODULES_HOME
}
/init"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment