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
8a800c60
Commit
8a800c60
authored
Mar 18, 2015
by
gsell
Browse files
scripts/Bootstrap/compile_pmodules.sh: print message and exit, if something failed to compile
parent
a777b124
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
scripts/Bootstrap/compile_pmodules.sh
scripts/Bootstrap/compile_pmodules.sh
+6
-6
No files found.
scripts/Bootstrap/compile_pmodules.sh
View file @
8a800c60
...
...
@@ -8,13 +8,13 @@ source "${BASE_DIR}/config/Pmodules.conf"
unset
PMODULES_HOME
source
"/opt/psi/config/environment.bash"
${
BOOTSTRAP_DIR
}
/gettext/build
--bootstrap
${
BOOTSTRAP_DIR
}
/getopt/build
--bootstrap
${
BOOTSTRAP_DIR
}
/dialog/build
--bootstrap
${
BOOTSTRAP_DIR
}
/bash/build
--bootstrap
${
BOOTSTRAP_DIR
}
/Tcl/build
--bootstrap
${
BOOTSTRAP_DIR
}
/gettext/build
--bootstrap
||
{
echo
"compiling 'gettext' failed!"
;
exit
1
;
}
${
BOOTSTRAP_DIR
}
/getopt/build
--bootstrap
||
{
echo
"compiling 'getopt' failed!"
;
exit
1
;
}
${
BOOTSTRAP_DIR
}
/dialog/build
--bootstrap
||
{
echo
"compiling 'dialog' failed!"
;
exit
1
;
}
${
BOOTSTRAP_DIR
}
/bash/build
--bootstrap
||
{
echo
"compiling 'bash' failed!"
;
exit
1
;
}
${
BOOTSTRAP_DIR
}
/Tcl/build
--bootstrap
||
{
echo
"compiling 'Tcl' failed!"
;
exit
1
;
}
# we have to remove the init directory - otherwise the next build will fail...
rm
-rf
"
${
PMODULES_HOME
}
/init"
${
BOOTSTRAP_DIR
}
/Modules/build
--bootstrap
${
BOOTSTRAP_DIR
}
/Modules/build
--bootstrap
||
{
echo
"compiling 'Modules' failed!"
;
exit
1
;
}
mv
-v
"
${
PMODULES_HOME
}
/bin/modulecmd"
"
${
PMODULES_HOME
}
/bin/modulecmd.tcl"
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