diff options
Diffstat (limited to 'redhat/docker/run.sh')
-rwxr-xr-x | redhat/docker/run.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/redhat/docker/run.sh b/redhat/docker/run.sh index 639612b4e..d366c39dc 100755 --- a/redhat/docker/run.sh +++ b/redhat/docker/run.sh @@ -14,7 +14,7 @@ mkdir -p "${HOME}/rpmbuild/RPMS/RPMS${DIST}.tde-${TDE_VERSION}" mkdir -p "${HOME}/rpmbuild/SRPMS/SRPMS${DIST}.tde-${TDE_VERSION}" mkdir -p "/dev/shm/docker" -case "${VERSION}" in +case "${TDE_VERSION}" in "14.0."*) TDE_BRANCH="r14.0.x";; *) TDE_BRANCH="master";; esac @@ -31,7 +31,8 @@ docker run -ti --rm --privileged \ -e TDE_BRANCH=${TDE_BRANCH} \ -w /home/trinity/tde/${TDE_BRANCH}/tde-packaging/redhat \ -v ${HOME}/.gnupg:/home/trinity/.gnupg \ - -v ${HOME}/tde/${TDE_BRANCH}/tde-packaging:/home/trinity/tde/${TDE_BRANCH}/tde-packaging \ + -v ${HOME}/tde/master:/home/trinity/tde/master \ + -v ${HOME}/tde/r14.0.x:/home/trinity/tde/r14.0.x \ -v ${HOME}/tde/patches:/home/trinity/tde/patches \ -v ${HOME}/tde/tarballs:/home/trinity/tde/tarballs \ -v ${HOME}/rpmbuild/RPMS/RPMS${DIST}.tde-${TDE_VERSION}:/home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION} \ |