[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#799883: [PATCH v2 1/2] Treat *-{i386,amd64} as x86



X-Debbugs-CC: debian-hurd@lists.debian.org
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 63a5932..d71c544 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@
 	dh $@
 
 ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
-ifneq (,$(findstring :$(ARCH):,:i386:amd64:))
+ifneq (,$(filter i386 amd64 %-i386 %-amd64,$(ARCH)))
 ARCH=x86
 endif
 
-- 
2.5.1


Reply to: