diff options
author | François Andriot <[email protected]> | 2019-01-01 22:57:59 +0100 |
---|---|---|
committer | François Andriot <[email protected]> | 2019-01-01 23:00:53 +0100 |
commit | 611c4063a91e80b6e9a17e3161cdbb5798b60c06 (patch) | |
tree | 404354ae67b0e09878fbbcf631fcc76e28778107 /redhat/docker/run.sh | |
parent | 992f8a74b8e847c505fb987dee376f2295a935f0 (diff) | |
download | tde-packaging-611c4063a91e80b6e9a17e3161cdbb5798b60c06.tar.gz tde-packaging-611c4063a91e80b6e9a17e3161cdbb5798b60c06.zip |
RPM: update docker scripts
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} \ |