Add another package check (python-xml).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2006-12-14 14:13:18 +00:00
1 parent 265f7f57f6
commit 96134532ec
2 files changed
+21 -1

No files matched your search

+5 -1
View File
@@ -36,7 +36,7 @@ all: check
$(MAKE) ioemu
.PHONY: install
install: check
install: check_install
@set -e; for subdir in $(SUBDIRS-y); do \
$(MAKE) -C $$subdir $@; \
done
@@ -58,6 +58,10 @@ distclean: clean
check:
$(MAKE) -C check
.PHONY: check_install
check_install: check
$(MAKE) -C check install
.PHONY: check_clean
check_clean:
$(MAKE) -C check clean
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
# CHECK-INSTALL
function error {
echo
echo " *** Check for python-xml package FAILED"
exit 1
}
python -c '
import os.path, sys
for p in sys.path:
if os.path.exists(p + "/xml/dom/minidom.py"):
sys.exit(0)
sys.exit(1)
' || error
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.