summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/build_module.sh
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-07-24 18:40:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-07-24 18:40:18 +0900
commit7e05a8b13a137f60600a3694c7a9091752cd7162 (patch)
tree5306f82a4f0e296fd0b506152714a1d3bfb0a15f /debian/_buildscripts/local/build_module.sh
parent5b6ed350a0623e238e99866dc86d4d88a6904564 (diff)
downloadtde-packaging-7e05a8b13a137f60600a3694c7a9091752cd7162.tar.gz
tde-packaging-7e05a8b13a137f60600a3694c7a9091752cd7162.zip
DEB/UBU build scripts.
1) added support for Devuan distros 2) added more command line options for update_repositories.sh 3) bug fixes and improved user feedback 4) added link inside ubuntu distro Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_buildscripts/local/build_module.sh')
-rwxr-xr-xdebian/_buildscripts/local/build_module.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/debian/_buildscripts/local/build_module.sh b/debian/_buildscripts/local/build_module.sh
index 18d55d778..50c9c3a14 100755
--- a/debian/_buildscripts/local/build_module.sh
+++ b/debian/_buildscripts/local/build_module.sh
@@ -122,11 +122,13 @@ export OPT_SHOW_LOGS
echo -e "${CLightCyan}#### Processing module \"$MOD_NAME\" ####${CNone}"
# This folders must exists
-BASE_DIRS=("REPO_DIR" "BUILD_DIR" "SCRIPT_DIR" "REPO_TDE_MAIN" "REPO_TDE_PACKAGING" "REPO_EXTRA_DEPENDENCIES" "HOOK_DIR")
-
+BASE_DIRS=("REPO_DIR" "BUILD_DIR" "SCRIPT_DIR" "REPO_TDE_MAIN" "REPO_TDE_PACKAGING" "HOOK_DIR")
+if [[ "$USE_PREBUILD_EXTRA_DEPS" != "y" ]]; then
+ BASE_DIRS+=("REPO_EXTRA_DEPENDENCIES")
+fi
for var_name in ${BASE_DIRS[@]}; do
if [ ! -d "${!var_name}" ]; then
- echo -e "$var_name directory missing. Value is \"${!var_name}\". Check your config or create it."
+ echo -e "${CYellow}$var_name${CNone} folder missing (${CLightPurple}${!var_name}${CNone}). Check your config or create it."
do_exit 4
fi
done