forked from OSchip/llvm-project
Linux buildbot fix: detect swig tool from PATH in shell script (before searching hardcoded directories)
llvm-svn: 168831
This commit is contained in:
parent
f3614fd8e2
commit
16e126c70b
|
@ -83,8 +83,8 @@ fi
|
|||
# Next look for swig
|
||||
#
|
||||
|
||||
SWIG=
|
||||
if [ -f /usr/bin/swig ]
|
||||
SWIG=`which swig`
|
||||
if [ ! -x "$SWIG" -a -f /usr/bin/swig ]
|
||||
then
|
||||
SWIG=/usr/bin/swig
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue