summaryrefslogtreecommitdiffstats
path: root/redhat/build/get_source_files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/build/get_source_files.sh')
-rwxr-xr-xredhat/build/get_source_files.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/build/get_source_files.sh b/redhat/build/get_source_files.sh
index 529aa49ed..3f42de99d 100755
--- a/redhat/build/get_source_files.sh
+++ b/redhat/build/get_source_files.sh
@@ -1,7 +1,7 @@
#!/bin/bash
PKGNAME="${1##*/}"
-TDE_VERSION="${2:-${TDE_VERSION:-14.1.0}}"
+TDE_VERSION="${2:-${TDE_VERSION:-14.1.2}}"
DIST="$3"
[ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1
@@ -31,7 +31,7 @@ while read var val; do
--define "tde_version ${TDE_VERSION}" \
--define "name ${name}" \
--define "version ${VERSION}" \
- --define "dist ${DIST:-$(rpm -E %dist)}" \
+ --define "dist ${DIST:-$(rpmdist.sh --dist)}" \
-E "${FILE}")
[ -r "${file}" ] && break
done