[Python-apps-commits] r5730 - in packages/pyrit/trunk/debian (rules)
chrisk-guest at users.alioth.debian.org
chrisk-guest at users.alioth.debian.org
Sat Jul 3 10:26:51 UTC 2010
Date: Saturday, July 3, 2010 @ 10:26:49
Author: chrisk-guest
Revision: 5730
Change PYTHONPATH so it works an all architectures
Modified:
packages/pyrit/trunk/debian/rules
Modified: packages/pyrit/trunk/debian/rules
===================================================================
--- packages/pyrit/trunk/debian/rules 2010-07-02 22:00:02 UTC (rev 5729)
+++ packages/pyrit/trunk/debian/rules 2010-07-03 10:26:49 UTC (rev 5730)
@@ -5,7 +5,6 @@
#export DH_VERBOSE=1
PYVERS = $(shell pyversions -r -v)
-BUILD_LIBROOT = build/lib.$(DEB_BUILD_ARCH_OS)-$(shell uname -m)
%:
dh $@
@@ -13,8 +12,9 @@
override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
set -e ;\
- cd test ;\
- for py in $(PYVERS); do \
- PYTHONPATH=$(CURDIR)/$(BUILD_LIBROOT)-$$py python$$py test_pyrit.py; \
+ for py in $(PYVERS); do \
+ LIB=$$(ls -d $(CURDIR)/build/lib.*-$$py) ;\
+ cd test ;\
+ PYTHONPATH=$$LIB python$$py test_pyrit.py ;\
done
endif
More information about the Python-apps-commits
mailing list