Changeset ffed6142d652bb8154dbeac565000ea3673722a0

Show
Ignore:
Timestamp:
04/16/08 13:03:04 (3 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1208343784 +0200
git-parent:

[0d43db08ef1bb04c89587fbafec45a8d99cde939]

git-author:
Rafaël Carré <funman@videolan.org> 1208343784 +0200
Message:

Use which to find utilities - calling them may return an error

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • extras/contrib/bootstrap

    r004f537 rffed614  
    270270echo "EXTRA_PATH = ${EXTRA_PATH}" >> config.mak 
    271271 
    272 if wget --version >/dev/null 2>&1; then 
     272if which wget >/dev/null 2>&1; then 
    273273    echo "WGET = `which wget` -c --passive" >> config.mak 
    274 elif which curl >/dev/null; then 
     274elif which curl >/dev/null 2>&1; then 
    275275    echo "WGET = `which curl` -L -O" >> config.mak 
    276276else 
     
    279279fi 
    280280 
    281 if svn help >/dev/null 2>&1; then 
     281if which svn >/dev/null 2>&1; then 
    282282    echo "SVN = `which svn`" >> config.mak 
    283283else 
     
    285285fi 
    286286 
    287 if git help >/dev/null 2>&1; then 
     287if which git >/dev/null 2>&1; then 
    288288    echo "GIT = `which git`" >> config.mak 
    289289else