ia64/xen-unstable

changeset 16855:bcae9d2cc2f8

tools/check: Add explicit include path for funcs.sh.

When the current directory is not in $PATH,
then the patch fixes the following errors:

Checking check_brctl: .: funcs.sh: not found
Checking check_crypto_lib: .: funcs.sh: not found
Checking check_curl: .: funcs.sh: not found
Checking check_iproute: .: funcs.sh: not found
Checking check_python: .: funcs.sh: not found
Checking check_python_xml: .: funcs.sh: not found
Checking check_udev: .: funcs.sh: not found
Checking check_xml2: .: funcs.sh: not found
Checking check_zlib_lib: .: funcs.sh: not found

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jan 23 11:21:35 2008 +0000 (2008-01-23)
parents 56307d5809cc
children cff4c8a1aa28
files tools/check/check_brctl tools/check/check_crypto_lib tools/check/check_curl tools/check/check_iproute tools/check/check_openssl_devel tools/check/check_python tools/check/check_python_devel tools/check/check_python_xml tools/check/check_udev tools/check/check_x11_devel tools/check/check_xgettext tools/check/check_xml2 tools/check/check_zlib_devel tools/check/check_zlib_lib
line diff
     1.1 --- a/tools/check/check_brctl	Wed Jan 23 11:20:01 2008 +0000
     1.2 +++ b/tools/check/check_brctl	Wed Jan 23 11:21:35 2008 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  #!/bin/sh
     1.5  # CHECK-INSTALL
     1.6  
     1.7 -. funcs.sh
     1.8 +. ./funcs.sh
     1.9  
    1.10  case $OS in
    1.11  OpenBSD|NetBSD|FreeBSD)
     2.1 --- a/tools/check/check_crypto_lib	Wed Jan 23 11:20:01 2008 +0000
     2.2 +++ b/tools/check/check_crypto_lib	Wed Jan 23 11:21:35 2008 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  #!/bin/sh
     2.5  # CHECK-BUILD CHECK-INSTALL
     2.6  
     2.7 -. funcs.sh
     2.8 +. ./funcs.sh
     2.9  
    2.10  case $OS in
    2.11  FreeBSD|NetBSD|OpenBSD)
     3.1 --- a/tools/check/check_curl	Wed Jan 23 11:20:01 2008 +0000
     3.2 +++ b/tools/check/check_curl	Wed Jan 23 11:21:35 2008 +0000
     3.3 @@ -1,7 +1,7 @@
     3.4  #!/bin/sh
     3.5  # CHECK-BUILD CHECK-INSTALL
     3.6  
     3.7 -. funcs.sh
     3.8 +. ./funcs.sh
     3.9  
    3.10  if [ "$LIBXENAPI_BINDINGS" != "y" ]; then
    3.11  	echo -n "unused, "
     4.1 --- a/tools/check/check_iproute	Wed Jan 23 11:20:01 2008 +0000
     4.2 +++ b/tools/check/check_iproute	Wed Jan 23 11:21:35 2008 +0000
     4.3 @@ -1,7 +1,7 @@
     4.4  #!/bin/sh
     4.5  # CHECK-INSTALL
     4.6  
     4.7 -. funcs.sh
     4.8 +. ./funcs.sh
     4.9  
    4.10  PATH=/sbin:$PATH
    4.11  
     5.1 --- a/tools/check/check_openssl_devel	Wed Jan 23 11:20:01 2008 +0000
     5.2 +++ b/tools/check/check_openssl_devel	Wed Jan 23 11:21:35 2008 +0000
     5.3 @@ -1,6 +1,6 @@
     5.4  #!/bin/sh
     5.5  # CHECK-BUILD
     5.6  
     5.7 -. funcs.sh
     5.8 +. ./funcs.sh
     5.9  
    5.10  has_header openssl/md5.h || fail "missing openssl headers"
     6.1 --- a/tools/check/check_python	Wed Jan 23 11:20:01 2008 +0000
     6.2 +++ b/tools/check/check_python	Wed Jan 23 11:21:35 2008 +0000
     6.3 @@ -1,7 +1,7 @@
     6.4  #!/bin/sh
     6.5  # CHECK-BUILD CHECK-INSTALL
     6.6  
     6.7 -. funcs.sh
     6.8 +. ./funcs.sh
     6.9  
    6.10  python -c '
    6.11  import sys
     7.1 --- a/tools/check/check_python_devel	Wed Jan 23 11:20:01 2008 +0000
     7.2 +++ b/tools/check/check_python_devel	Wed Jan 23 11:21:35 2008 +0000
     7.3 @@ -1,7 +1,7 @@
     7.4  #!/bin/sh
     7.5  # CHECK-BUILD
     7.6  
     7.7 -. funcs.sh
     7.8 +. ./funcs.sh
     7.9  
    7.10  python -c '
    7.11  import os.path, sys
     8.1 --- a/tools/check/check_python_xml	Wed Jan 23 11:20:01 2008 +0000
     8.2 +++ b/tools/check/check_python_xml	Wed Jan 23 11:21:35 2008 +0000
     8.3 @@ -1,7 +1,7 @@
     8.4  #!/bin/sh
     8.5  # CHECK-INSTALL
     8.6  
     8.7 -. funcs.sh
     8.8 +. ./funcs.sh
     8.9  
    8.10  python -c 'import xml.dom.minidom' 2>/dev/null || \
    8.11  fail "can't import xml.dom.minidom"
     9.1 --- a/tools/check/check_udev	Wed Jan 23 11:20:01 2008 +0000
     9.2 +++ b/tools/check/check_udev	Wed Jan 23 11:21:35 2008 +0000
     9.3 @@ -1,7 +1,7 @@
     9.4  #!/bin/sh
     9.5  # CHECK-INSTALL
     9.6  
     9.7 -. funcs.sh
     9.8 +. ./funcs.sh
     9.9  
    9.10  case $OS in
    9.11  OpenBSD|NetBSD|FreeBSD)
    10.1 --- a/tools/check/check_x11_devel	Wed Jan 23 11:20:01 2008 +0000
    10.2 +++ b/tools/check/check_x11_devel	Wed Jan 23 11:21:35 2008 +0000
    10.3 @@ -1,7 +1,7 @@
    10.4  #!/bin/sh
    10.5  # CHECK-BUILD
    10.6  
    10.7 -. funcs.sh
    10.8 +. ./funcs.sh
    10.9  
   10.10  has_header X11/keysymdef.h || \
   10.11  has_header /usr/X11R6/include/X11/keysymdef.h || \
    11.1 --- a/tools/check/check_xgettext	Wed Jan 23 11:20:01 2008 +0000
    11.2 +++ b/tools/check/check_xgettext	Wed Jan 23 11:21:35 2008 +0000
    11.3 @@ -1,6 +1,6 @@
    11.4  #!/bin/sh
    11.5  # CHECK-BUILD
    11.6  
    11.7 -. funcs.sh
    11.8 +. ./funcs.sh
    11.9  
   11.10  has_or_fail xgettext
    12.1 --- a/tools/check/check_xml2	Wed Jan 23 11:20:01 2008 +0000
    12.2 +++ b/tools/check/check_xml2	Wed Jan 23 11:21:35 2008 +0000
    12.3 @@ -1,7 +1,7 @@
    12.4  #!/bin/sh
    12.5  # CHECK-BUILD CHECK-INSTALL
    12.6  
    12.7 -. funcs.sh
    12.8 +. ./funcs.sh
    12.9  
   12.10  if [ ! "$LIBXENAPI_BINDINGS" = "y" -a ! "$ACM_SECURITY" = "y" ]
   12.11  then
    13.1 --- a/tools/check/check_zlib_devel	Wed Jan 23 11:20:01 2008 +0000
    13.2 +++ b/tools/check/check_zlib_devel	Wed Jan 23 11:21:35 2008 +0000
    13.3 @@ -1,6 +1,6 @@
    13.4  #!/bin/sh
    13.5  # CHECK-BUILD
    13.6  
    13.7 -. funcs.sh
    13.8 +. ./funcs.sh
    13.9  
   13.10  has_header zlib.h || fail "can't find zlib headers"
    14.1 --- a/tools/check/check_zlib_lib	Wed Jan 23 11:20:01 2008 +0000
    14.2 +++ b/tools/check/check_zlib_lib	Wed Jan 23 11:21:35 2008 +0000
    14.3 @@ -1,7 +1,7 @@
    14.4  #!/bin/sh
    14.5  # CHECK-BUILD CHECK-INSTALL
    14.6  
    14.7 -. funcs.sh
    14.8 +. ./funcs.sh
    14.9  
   14.10  case $OS in
   14.11  FreeBSD|NetBSD|OpenBSD)