Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
buildsupport
Compare Revisions
3bf93046d78f5aa51963f523de45eebab28e3f4e...ed065a34196611b90d979e94c0abdffbea0bb911
Commits (1)
Add call to post-build script in build-script
· ed065a34
Maxime Perrotin
authored
May 22, 2017
ed065a34
Hide whitespace changes
Inline
Side-by-side
c/build_script.c
View file @
ed065a34
...
...
@@ -289,7 +289,14 @@ void Create_script()
});
/* Let user add custom orchestrator flags */
fprintf
(
script
,
"
\\\n\t
$ORCHESTRATOR_OPTIONS
\n
"
);
fprintf
(
script
,
"
\\\n\t
$ORCHESTRATOR_OPTIONS
\n\n
"
);
fprintf
(
script
,
"if [ -f user_init_last.sh ]
\n
"
"then
\n
"
" echo -e
\"
${INFO} Executing user-defined post-build script
\"\n
"
" source user_init_last.sh
\n
"
"fi
\n\n
"
);
close_file
(
&
script
);
if
(
chmod
(
"build-script.sh"
,
S_IRWXG
|
S_IRWXO
|
S_IRWXU
))
{
...
...