This is an automated email from the ASF dual-hosted git repository.

tillt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit 84b8578b9fd8bbd6a7f4a73dc793d3db8894d747
Author: Till Toenshoff <[email protected]>
AuthorDate: Wed Mar 6 18:07:36 2019 +0100

    Assured a set USER within RPM build.
    
    Review: https://reviews.apache.org/r/70049/
---
 support/packaging/centos/build_rpm.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/support/packaging/centos/build_rpm.sh 
b/support/packaging/centos/build_rpm.sh
index 4c5b961..6850ded 100755
--- a/support/packaging/centos/build_rpm.sh
+++ b/support/packaging/centos/build_rpm.sh
@@ -26,6 +26,7 @@ make_dist() {
 
   TMP_BUILD_DIR=`mktemp -d ./mesos-centos-rpm-build-XXXX`
   pushd $TMP_BUILD_DIR
+  export USER=${USER:-centos}
   $MESOS_DIR/configure && make dist
   MESOS_VERSION=$($MESOS_DIR/configure --version|head -1|cut -d' ' -f3)
   popd

Reply via email to