[vlc-commits] contrib: bootstrap: Use python3

Hugo Beauzée-Luyssen git at videolan.org
Fri Jul 5 17:29:34 CEST 2019


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jul  2 11:08:24 2019 +0200| [3b17f4734c1c3e005f071d0dee879c735919cba6] | committer: Hugo Beauzée-Luyssen

contrib: bootstrap: Use python3

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3b17f4734c1c3e005f071d0dee879c735919cba6
---

 contrib/bootstrap | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index 4e662ee2a5..577d8b0dc6 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -356,9 +356,9 @@ esac
 BOOTSTRAP_PATH="$( cd "$(dirname "$0")" ; pwd -P )"
 CURRENT_PATH="$( pwd -P )"
 # location of the contrib/src folder from the root of the contrib build folder
-TOPSRC=$(python -c "import os; print(os.path.relpath('$BOOTSTRAP_PATH', '$CURRENT_PATH'))")
+TOPSRC=$(python3 -c "import os; print(os.path.relpath('$BOOTSTRAP_PATH', '$CURRENT_PATH'))")
 # location of the contrib/src folder from a built library folder
-TOPSRC_BUILT=$(python -c "import os; print(os.path.relpath('$BOOTSTRAP_PATH', '$CURRENT_PATH/libfoo'))")
+TOPSRC_BUILT=$(python3 -c "import os; print(os.path.relpath('$BOOTSTRAP_PATH', '$CURRENT_PATH/libfoo'))")
 add_make "TOPSRC = $TOPSRC"
 add_make "TOPSRC_BUILT = $TOPSRC_BUILT"
 add_make "TOPDST = .."



More information about the vlc-commits mailing list