summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-05-08 16:50:22 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-05-08 16:50:22 +0000
commitefc22a2160a99b53bdb7c58cc827e37ce6a0bfff (patch)
tree81a68bc3bc6dda4203b4fe6e5d8ae8b5c47c22d1
parent20ab835ac22542b5bb4a258898d65496c02de7ee (diff)
downloadmidipix_build-efc22a2160a99b53bdb7c58cc827e37ce6a0bfff.tar.bz2
midipix_build-efc22a2160a99b53bdb7c58cc827e37ce6a0bfff.tar.xz
build.sh:{disabled,skipped}_pkg: correctly increment ${BUILD_NSKIP}.
-rwxr-xr-xbuild.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 143d50de..875107ed 100755
--- a/build.sh
+++ b/build.sh
@@ -77,8 +77,10 @@ buildp_dispatch() {
fi;
exit 1;
fi; ;;
- disabled_pkg) ex_rtl_log_msg vnfo "Skipping disabled package \`${_pkg_name}.'"; ;;
- skipped_pkg) ex_rtl_log_msg vnfo "Skipping finished package \`${_pkg_name}.'"; ;;
+ disabled_pkg) : $((BUILD_NSKIP+=1));
+ ex_rtl_log_msg vnfo "Skipping disabled package \`${_pkg_name}.'"; ;;
+ skipped_pkg) : $((BUILD_NSKIP+=1));
+ ex_rtl_log_msg vnfo "Skipping finished package \`${_pkg_name}.'"; ;;
step_pkg) ex_rtl_log_msg vucc "Finished build step ${4} of package \`${_pkg_name}'."; ;;
# Child process