You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ph...@apache.org on 2019/04/24 10:44:08 UTC

[nifi-minifi-cpp] branch master updated: MINIFICPP-799 - Fixed bison install script in MacOS bootstrap

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

phrocker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git


The following commit(s) were added to refs/heads/master by this push:
     new 2fc64e8  MINIFICPP-799 - Fixed bison install script in MacOS bootstrap
2fc64e8 is described below

commit 2fc64e874e79678184456237fd734de80a905f8b
Author: Daniel Bakai <ba...@gmail.com>
AuthorDate: Wed Apr 24 11:27:00 2019 +0200

    MINIFICPP-799 - Fixed bison install script in MacOS bootstrap
    
    This closes #542.
    
    Signed-off-by: Marc Parisi <ph...@apache.org>
---
 darwin.sh | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/darwin.sh b/darwin.sh
index 91a3139..4f79f69 100644
--- a/darwin.sh
+++ b/darwin.sh
@@ -50,12 +50,9 @@ install_bison() {
     fi
   fi
   if [ "$BISON_INSTALLED" = "false" ]; then
-    ## ensure that the toolchain is installed
-    INSTALL_BASE="sudo zypper in -y gcc gcc-c++"
-    ${INSTALL_BASE}
-    wget https://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.xz
-    tar xvf bison-3.0.4.tar.xz
-    pushd bison-3.0.4
+    wget https://ftp.gnu.org/gnu/bison/bison-3.0.5.tar.xz
+    tar xvf bison-3.0.5.tar.xz
+    pushd bison-3.0.5
     ./configure
     make
     sudo make install