From 60fa8c11c2673a10f8afbe37bcea13c9be3317b8 Mon Sep 17 00:00:00 2001 From: timerix Date: Mon, 10 Jul 2023 17:03:20 +0300 Subject: [PATCH] small bug fix --- default.config | 1 - functions.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/default.config b/default.config index 0274190..803b690 100644 --- a/default.config +++ b/default.config @@ -24,7 +24,6 @@ DEPS_BASEDIR="." # dependency_dir='...'" DEPS="" - # OBJDIR structure: # ├── objects/ - dir where compiled *.o files are stored. cleans every call of build task # ├── profile/ - dir where gcc *.gcda profiling info files stored diff --git a/functions.sh b/functions.sh index 77b7689..ebdadd7 100755 --- a/functions.sh +++ b/functions.sh @@ -88,7 +88,7 @@ $(find $OBJDIR/libs -name '*.a')" # if $lib_file doesn't exist or rebuild_* task was executed, builds static lib function handle_static_dependency { - local deps_basedir="$1" + local deps_basedir="${1%/}" local lib_project_dir="$2" local lib_build_task="$3" local lib_build_dir="$4"