diff options
author | François Andriot <[email protected]> | 2019-01-01 22:56:56 +0100 |
---|---|---|
committer | François Andriot <[email protected]> | 2019-01-03 22:07:51 +0100 |
commit | d036de9c62c1a4e74663a038fe6f1b31f6323375 (patch) | |
tree | 47e49e1123855239eefd6fac3b9d60e7a21b65a9 /redhat/build/build_rpm_package.sh | |
parent | 8fb1b9251ac496f0a557118003d90018cac34b56 (diff) | |
download | tde-packaging-d036de9c62c1a4e74663a038fe6f1b31f6323375.tar.gz tde-packaging-d036de9c62c1a4e74663a038fe6f1b31f6323375.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} || :) |