From 2037f9af8fa701dd4b541d44f4858024a4a3d6ec Mon Sep 17 00:00:00 2001 From: Eric-Paul Ickhorn Date: Sat, 7 Sep 2024 22:11:56 +0200 Subject: [PATCH] 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. --- scripts/build.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.bash b/scripts/build.bash index 4bc689a..a795f20 100644 --- a/scripts/build.bash +++ b/scripts/build.bash @@ -1,7 +1,7 @@ cd $(dirname $0) SCRIPT_PATH=$(pwd) -cd ../.. +cd .. PROJECT_PATH=$(pwd) function list_modules() { @@ -77,7 +77,7 @@ rm -f .build/archives/*.a MODULE_LIST=$(list_modules "modules") for MODULE in $MODULE_LIST do - build_single_module $MODULE + build_single_module $MODULE done gcc -g3 -o voxula .build/archives/*.a