summaryrefslogtreecommitdiffstats
path: root/redhat/build/build_rpm_package.sh
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2019-01-01 22:56:56 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2019-01-01 22:56:56 +0100
commit10db604da9567d12f60504c7456b51edc81e0a8b (patch)
tree1f158d5a581355057e73f3ad8370f40c5e86ef5b /redhat/build/build_rpm_package.sh
parent7e100357a2add8c5b5fb5f93d24dca9dd46cc2d9 (diff)
downloadtde-packaging-10db604da9567d12f60504c7456b51edc81e0a8b.tar.gz
tde-packaging-10db604da9567d12f60504c7456b51edc81e0a8b.zip
RPM: update build scripts
Diffstat (limited to 'redhat/build/build_rpm_package.sh')
-rwxr-xr-xredhat/build/build_rpm_package.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/redhat/build/build_rpm_package.sh b/redhat/build/build_rpm_package.sh
index b61478d84..5eb757699 100755
--- a/redhat/build/build_rpm_package.sh
+++ b/redhat/build/build_rpm_package.sh
@@ -6,7 +6,8 @@
PKGNAME="${1%/}"
PKGNAME="${PKGNAME##*/}"
-TDE_VERSION="${2:-14.0.0}"
+TDE_VERSION="${2:-${TDE_VERSION:-14.0.5}}"
+PATH="$(cd $(dirname $0); pwd):${PATH}"
SPECFILE=$(get_specfile.sh ${PKGNAME} ${TDE_VERSION})
VERSION=$(get_latest_tarball_version.sh ${PKGNAME} ${TDE_VERSION} || :)