summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorScott James Remnant <scott@netsplit.com>2005-03-29 13:31:15 +0100
committerScott James Remnant <scott@netsplit.com>2005-03-29 13:31:15 +0100
commitf508767236142541861ece120a5822d77cdb58e5 (patch)
treeb864397ee9f30871f68d3f98ce51ad061755477e /m4
parent4cc3ae4b3a3abda38828926b589d422596af81a8 (diff)
downloaddpkg-f508767236142541861ece120a5822d77cdb58e5.tar.gz
dpkg (1.13.4) experimental; urgency=low
The "Or the Wabbit gets it" Release * Add -L option to dpkg-architecture to list architecture strings we can accept. -- Scott James Remnant <scott@netsplit.com> Tue, 29 Mar 2005 13:31:15 +0100
Diffstat (limited to 'm4')
-rw-r--r--m4/arch.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/arch.m4 b/m4/arch.m4
index a27ef4ac2..a18aa0700 100644
--- a/m4/arch.m4
+++ b/m4/arch.m4
@@ -22,7 +22,7 @@ AC_DEFINE_UNQUOTED(ARCHITECTURE_CPU, "${cpu_type}",
# special cases to determine what type it is. Sets ARCHITECTURE_OS.
AC_DEFUN([DPKG_OS_TYPE],
[AC_MSG_CHECKING([dpkg operating system type])
-[os_type="`awk \"! /^(#.*)?\\$/ { if (match(\\\"$target_os\\\", \\\"^\\\"\\$][3\\\"\\$\\\")) { print \\$][1; exit; } }\" $srcdir/ostable`"]
+[os_type="`awk \"! /^(#.*)?\\$/ { if (match(\\\"$target_os\\\", \\\"^(.*-)?\\\"\\$][3\\\"\\$\\\")) { print \\$][1; exit; } }\" $srcdir/ostable`"]
if test "x$os_type" = "x"; then
os_type=$target_os
AC_MSG_RESULT([$os_type])