mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
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>
13 lines
202 B
Bash
Executable File
13 lines
202 B
Bash
Executable File
#!/bin/sh
|
|
# CHECK-BUILD
|
|
|
|
. ./funcs.sh
|
|
|
|
python -c '
|
|
import os.path, sys
|
|
for p in sys.path:
|
|
if os.path.exists(p + "/config/Makefile"):
|
|
sys.exit(0)
|
|
sys.exit(1)
|
|
' || fail "can't find python devel files"
|