[gtk-osx: 20/48] Add DEVPREFIX/bin to PATH



commit 75af84cc3f66af9a9e7ffa0c693731de331547ba
Author: John Ralls <jralls ceridwen us>
Date:   Mon Apr 8 12:43:18 2019 -0700

    Add DEVPREFIX/bin to PATH
    
    Otherwise pipenv install crashes because pyenv isn't found.

 gtk-osx-setup.sh | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk-osx-setup.sh b/gtk-osx-setup.sh
index 9a66b45..8d2a7ae 100755
--- a/gtk-osx-setup.sh
+++ b/gtk-osx-setup.sh
@@ -190,6 +190,7 @@ if test ! -x "$DEVPREFIX/libexec/run_jhbuild.py" ; then
 fi
 if test "x`echo $PATH | grep "$DEVPREFIX/bin"`" == x ; then
     echo "PATH does not contain $DEVPREFIX/bin. You probably want to fix that."
+    export PATH="$DEVPREFIX/bin:$PATH"
 fi
 # pipenv wants enum34 because it's installed with Py2 but that conflicts
 # with Py3 so remove it.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]