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:
Eric-Paul Ickhorn 2024-09-07 22:11:56 +02:00
parent f40ba7f27e
commit 2037f9af8f
Signed by: epickh
GPG Key ID: 1358818BAA38B104
1 changed files with 2 additions and 2 deletions

View File

@ -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