Fix relative path in build-script
The build-script assumed that it was nested two levels deep from the project's root directory, even if it is only nested one level deep; that bug is now fixed.
This commit is contained in:
parent
f40ba7f27e
commit
2037f9af8f
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
SCRIPT_PATH=$(pwd)
|
SCRIPT_PATH=$(pwd)
|
||||||
cd ../..
|
cd ..
|
||||||
PROJECT_PATH=$(pwd)
|
PROJECT_PATH=$(pwd)
|
||||||
|
|
||||||
function list_modules() {
|
function list_modules() {
|
||||||
|
@ -77,7 +77,7 @@ rm -f .build/archives/*.a
|
||||||
MODULE_LIST=$(list_modules "modules")
|
MODULE_LIST=$(list_modules "modules")
|
||||||
for MODULE in $MODULE_LIST
|
for MODULE in $MODULE_LIST
|
||||||
do
|
do
|
||||||
build_single_module $MODULE
|
build_single_module $MODULE
|
||||||
done
|
done
|
||||||
|
|
||||||
gcc -g3 -o voxula .build/archives/*.a
|
gcc -g3 -o voxula .build/archives/*.a
|
||||||
|
|
Loading…
Reference in New Issue