Fix bug with wrong module includes
The include statements generated from the 'includes.txt' have'nt been correct because of a prefixed string 'modules/' infront of the project path. The local includes were also not working because the 'modules/' path element was missing between the project path and the module name.
This commit is contained in:
parent
2037f9af8f
commit
9c691f817f
|
@ -42,10 +42,10 @@ function make_include_statements() {
|
|||
|
||||
for INCLUDE_PATH in $(cat modules/$MODULE_NAME/includes.txt)
|
||||
do
|
||||
MODIFIED_PATH="${INCLUDE_PATH//"{self}"/"modules/$PROJECT_PATH/$MODULE_NAME"}"
|
||||
MODIFIED_PATH="${INCLUDE_PATH//"{self}"/"$PROJECT_PATH/modules/$MODULE_NAME"}"
|
||||
MODIFIED_PATH="${MODIFIED_PATH//"{module-folder}"/"$PROJECT_PATH/modules"}"
|
||||
echo "-I ${MODIFIED_PATH//"{dependencies}"/"$PROJECT_PATH/dependencies"}"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
function build_single_module() {
|
||||
|
|
Loading…
Reference in New Issue