summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/build_module.sh
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-07-20 10:51:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-07-20 10:51:03 +0900
commitb6a6bac01bf50dc2d9ba65f3280fa63786dc5e64 (patch)
treeb869b2dbda15fdb5136304ccf6e0b8702585672b /debian/_buildscripts/local/build_module.sh
parent1ccf2a151e58c8abca97b00c4a277895968842e6 (diff)
downloadtde-packaging-b6a6bac01bf50dc2d9ba65f3280fa63786dc5e64.tar.gz
tde-packaging-b6a6bac01bf50dc2d9ba65f3280fa63786dc5e64.zip
DEB build scripts: fixed up spacing/tabs in commit 1ccf2a151.
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.sh66
1 files changed, 33 insertions, 33 deletions
diff --git a/debian/_buildscripts/local/build_module.sh b/debian/_buildscripts/local/build_module.sh
index a102c59de..c7c6cec0f 100755
--- a/debian/_buildscripts/local/build_module.sh
+++ b/debian/_buildscripts/local/build_module.sh
@@ -131,42 +131,42 @@ bool_PREPARE_ONLY="n"
bool_DEBUG_MODE="n"
bool_INVALID_PARAMETERS="n"
while [ $# -gt 0 ]; do
- case "$1" in
- -d) # build with Debug symbols (used in hook scripts)
- bool_DEBUG_MODE="y"
- ;;
- -g) # select code to build from Git repo (-g) or from local build copy
- bool_BUILD_FROM_GIT="y"
- ;;
- -l) # build module Locally instead of in a clean chroot environment
- bool_BUILD_LOCALLY="y"
- ;;
- -lr) # Log build Result to file
- bool_LOG_RESULT="y"
- ;;
- -po) # Prepare build folder Only but do not build
- bool_PREPARE_ONLY="y"
- ;;
- -sh) # install Shell Hook for failing builds (only valid if NOT building locally)
- bool_SHELL_HOOK="y"
- ;;
- -sl) # output the building logs to terminal (ShowLog)
- bool_SHOW_BUILD_LOGS="y"
- ;;
- *) # module to be built
- if [ -z "$MOD_NAME" ]; then
- MOD_NAME="$1"
- else
- bool_INVALID_PARAMETERS="y"
- fi
- esac
-
- shift
+ case "$1" in
+ -d) # build with Debug symbols (used in hook scripts)
+ bool_DEBUG_MODE="y"
+ ;;
+ -g) # select code to build from Git repo (-g) or from local build copy
+ bool_BUILD_FROM_GIT="y"
+ ;;
+ -l) # build module Locally instead of in a clean chroot environment
+ bool_BUILD_LOCALLY="y"
+ ;;
+ -lr) # Log build Result to file
+ bool_LOG_RESULT="y"
+ ;;
+ -po) # Prepare build folder Only but do not build
+ bool_PREPARE_ONLY="y"
+ ;;
+ -sh) # install Shell Hook for failing builds (only valid if NOT building locally)
+ bool_SHELL_HOOK="y"
+ ;;
+ -sl) # output the building logs to terminal (ShowLog)
+ bool_SHOW_BUILD_LOGS="y"
+ ;;
+ *) # module to be built
+ if [ -z "$MOD_NAME" ]; then
+ MOD_NAME="$1"
+ else
+ bool_INVALID_PARAMETERS="y"
+ fi
+ esac
+
+ shift
done
if [ "$bool_INVALID_PARAMETERS" != "n" ]; then
echo "Invalid arguments."
- MOD_NAME="N/A"
- do_exit 1
+ MOD_NAME="N/A"
+ do_exit 1
fi
echo -e "${CLightCyan}#### Processing module \"$MOD_NAME\" ####${CNone}"