[vlc-commits] contrib: bootstrap: Use python3

Hugo Beauzée-Luyssen git at videolan.org
Thu Jun 18 18:32:01 CEST 2020


vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jul  2 11:08:24 2019 +0200| [0facb304f20a7c6374cecf4ebcccaa9d2899d8b1] | committer: Steve Lhomme

contrib: bootstrap: Use python3

(cherry picked from commit 3b17f4734c1c3e005f071d0dee879c735919cba6)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=0facb304f20a7c6374cecf4ebcccaa9d2899d8b1
---

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

diff --git a/contrib/bootstrap b/contrib/bootstrap
index 1789e9a002..2153b7cb2c 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -397,9 +397,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