summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/scripts/_build_config_template.sh
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-02-19 23:15:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-05-28 14:46:58 +0900
commit38aaa2667f7c4e41fb399ac265456491068f60a7 (patch)
tree580bddea0aac000029ec85dddb71e940ee7d0ae8 /debian/_buildscripts/local/scripts/_build_config_template.sh
parent80b6864a4cd886534f4158130e3c4ef450943ade (diff)
downloadtde-packaging-38aaa2667f7c4e41fb399ac265456491068f60a7.tar.gz
tde-packaging-38aaa2667f7c4e41fb399ac265456491068f60a7.zip
DEB build scripts: fixed version numbering scheme. Added check to make
sure the selected distro and version is supported. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_buildscripts/local/scripts/_build_config_template.sh')
-rw-r--r--debian/_buildscripts/local/scripts/_build_config_template.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/debian/_buildscripts/local/scripts/_build_config_template.sh b/debian/_buildscripts/local/scripts/_build_config_template.sh
index d0c5a9d2c..d9dbbf8b0 100644
--- a/debian/_buildscripts/local/scripts/_build_config_template.sh
+++ b/debian/_buildscripts/local/scripts/_build_config_template.sh
@@ -4,9 +4,8 @@
# Build information
#----------------------------
TDE_RELEASE="14.1.0" # TDE release number
-DISTRO="debian" # Build for this distro
-D_VERSION="buster" # Build for this distro version
-REL_SUFFIX="~a" # Relative suffix for packages
+DISTRO="debian" # Distro family
+DISTRO_NAME="buster" # Distro name of specific version
ARCHITECTURE="amd64" # Build for this architecture
USE_LOCAL_BUILD_NUMBER="n" # If == "y", use local build numbering for modules
BUILD_NUMBER="b001" # TDE build number
@@ -24,7 +23,7 @@ CFG_GIT_DIR="1_git"
CFG_BUILD_DIR="2_build"
CFG_REPO_DIR="3_repo"
CFG_GIT_TDE_MAIN="$CFG_GIT_DIR/tde/main"
-CFG_GIT_TDE_PACKAGING="$CFG_GIT_DIR/tde-packaging/$DISTRO/$D_VERSION"
+CFG_GIT_TDE_PACKAGING="$CFG_GIT_DIR/tde-packaging/$DISTRO/$DISTRO_NAME"
CFG_GIT_EXTRA_DEPENDENCIES="$CFG_GIT_DIR/edeps"
CFG_HOOK_DIR="$CFG_GIT_DIR/hooks"
#Absolute paths