Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
buildsupport
Commits
810fe06a
Commit
810fe06a
authored
Nov 10, 2016
by
Maxime Perrotin
Browse files
Go back to the right directory in case of errors
parent
b1a70279
Changes
1
Hide whitespace changes
Inline
Side-by-side
c/build_script.c
View file @
810fe06a
...
...
@@ -49,6 +49,7 @@ void Create_script()
"# Inside these files you may set some environment variables:
\n
"
"# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:$C_INCLUDE_PATH
\n
"
"# unset USE_POHIC
\n\n
"
"CWD=$(pwd)
\n\n
"
"if [ -f user_init_pre.sh ]
\n
"
"then
\n
"
" echo [INFO] Executing user-defined init script
\n
"
...
...
@@ -169,7 +170,7 @@ void Create_script()
}
})
fprintf
(
script
,
"[ ! -z
\"
$CLEANUP
\"
] && rm -rf binary
\n\n
"
);
fprintf
(
script
,
"[ ! -z
\"
$CLEANUP
\"
] && rm -rf binary
*
\n\n
"
);
fprintf
(
script
,
"if [ -f ConcurrencyView.pro ]
\n
"
"then
\n
"
...
...
@@ -192,7 +193,7 @@ void Create_script()
" echo [INFO] Executing user-defined init script
\n
"
" source user_init_post.sh
\n
"
"fi
\n\n
"
"assert-builder-ocarina.py
\\\n
"
"
cd
\"
$CWD
\"
&&
assert-builder-ocarina.py
\\\n
"
"
\t
--fast
\\\n
"
"
\t
--debug
\\\n
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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