[vlc-commits] bootstrap: prepend extras/tools/build/bin to PATH if it exists

Rafaël Carré git at videolan.org
Sat Dec 10 20:15:50 CET 2011


vlc/vlc-1.2 | branch: master | Rafaël Carré <funman at videolan.org> | Fri Dec  9 19:40:37 2011 -0500| [9bec2c3ab9ab64f1f166b7e94f3fd9f823851726] | committer: Jean-Baptiste Kempf

bootstrap: prepend extras/tools/build/bin to PATH if it exists
(cherry picked from commit ede3bd6058cb462338403a93784a5a5ff3d39b75)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=9bec2c3ab9ab64f1f166b7e94f3fd9f823851726
---

 bootstrap |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/bootstrap b/bootstrap
index 38f85ff..1d1bb9f 100755
--- a/bootstrap
+++ b/bootstrap
@@ -19,6 +19,11 @@ fi
 
 ACLOCAL_ARGS="-I m4 ${ACLOCAL_ARGS}"
 
+# Check for tools directory
+if test -d extras/tools/build/bin; then
+  PATH="`pwd`/extras/tools/build/bin:$PATH"
+fi
+
 ###
 ###  Get a sane environment, just in case
 ###



More information about the vlc-commits mailing list