From 800f4b760505206ff31a4bf5ab0bee42fd7ba678 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 3 Sep 2020 16:20:16 +0200 Subject: [PATCH] libpbuild.bash: pbuild::make_all(): comments added to args --- Pmodules/libpbuild.bash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Pmodules/libpbuild.bash b/Pmodules/libpbuild.bash index 7ad68aa..9c9a376 100644 --- a/Pmodules/libpbuild.bash +++ b/Pmodules/libpbuild.bash @@ -915,8 +915,9 @@ pbuild::make_all() { } build_target() { - local dir="$1" - local target="$2" + local dir="$1" # src or build directory, depends on target + local target="$2" # prep, configure, compile or install + if [[ -e "${BUILD_DIR}/.${target}" ]] && \ [[ ${force_rebuild} != 'yes' ]]; then return 0