summaryrefslogtreecommitdiffstats
path: root/redhat/docker/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/docker/run.sh')
-rwxr-xr-xredhat/docker/run.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/redhat/docker/run.sh b/redhat/docker/run.sh
index 2f47725a9..5a59db78c 100755
--- a/redhat/docker/run.sh
+++ b/redhat/docker/run.sh
@@ -10,6 +10,7 @@ ARCH="$3"
IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}"
DIST="$(sed -n ${DISTRIB}/rpmmacros -e "/%dist/ s|.* ||p")"
+if [ "${DIST}" = "%nil" ]; then DIST=".${DISTRIB}"; fi
mkdir -p "${HOME}/rpmbuild/RPMS/RPMS${DIST}.tde-${TDE_VERSION}"
mkdir -p "${HOME}/rpmbuild/SRPMS/SRPMS${DIST}.tde-${TDE_VERSION}"