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.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/build/get_source_files.sh b/redhat/build/get_source_files.sh
index 5bb0a7e31..3f42de99d 100755
--- a/redhat/build/get_source_files.sh
+++ b/redhat/build/get_source_files.sh
@@ -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