[vlc-devel] [PATCH] contrib: bootstrap: Use python3
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Tue Jul 2 11:12:25 CEST 2019
---
contrib/bootstrap | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/bootstrap b/contrib/bootstrap
index 5e3f266932..1f9079fd73 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -379,9 +379,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 = .."
--
2.20.1
More information about the vlc-devel
mailing list