summaryrefslogtreecommitdiffstats
path: root/redhat/docker/run.sh
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2019-01-01 22:57:59 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2019-01-01 22:57:59 +0100
commit655ebdf18d1046473d2ae2c7e3cfc4ced71339f6 (patch)
tree00c99f71768aa29e5fba9f2d016c4a9d3f8b68a5 /redhat/docker/run.sh
parent2da54f8f1f9e4d91f16cb2d6e5e93712b0056055 (diff)
downloadtde-packaging-655ebdf18d1046473d2ae2c7e3cfc4ced71339f6.tar.gz
tde-packaging-655ebdf18d1046473d2ae2c7e3cfc4ced71339f6.zip
RPM: update docker scripts
Diffstat (limited to 'redhat/docker/run.sh')
-rwxr-xr-xredhat/docker/run.sh5
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} \