diff options
author | François Andriot <albator78@libertysurf.fr> | 2019-01-01 22:56:56 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2019-01-01 22:56:56 +0100 |
commit | 10db604da9567d12f60504c7456b51edc81e0a8b (patch) | |
tree | 1f158d5a581355057e73f3ad8370f40c5e86ef5b /redhat/build/build_rpm_package.sh | |
parent | 7e100357a2add8c5b5fb5f93d24dca9dd46cc2d9 (diff) | |
download | tde-packaging-10db604da9567d12f60504c7456b51edc81e0a8b.tar.gz tde-packaging-10db604da9567d12f60504c7456b51edc81e0a8b.zip |
RPM: update build scripts
Diffstat (limited to 'redhat/build/build_rpm_package.sh')
-rwxr-xr-x | redhat/build/build_rpm_package.sh | 3 |
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} || :) |