Color me read. Escape all $, instead of only 1.
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:55:22 +0000 (16:55 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:55:22 +0000 (16:55 +0000)
Author: doogie
Date: 1999-12-10 02:06:53 GMT
Color me read.  Escape all $, instead of only 1.

configure.in

index 666acd8..e25caff 100644 (file)
@@ -70,7 +70,7 @@ AC_SUBST(PTHREADLIB)
 
 dnl Converts the ARCH to be the same as dpkg
 AC_MSG_CHECKING(system architecture)
-archset="`awk \"{ if(\\\$1 == \\\"$host_cpu\\\") print $2 }\" $srcdir/buildlib/archtable`"
+archset="`awk \"{ if(\\\$1 == \\\"$host_cpu\\\") print \\\$2 }\" $srcdir/buildlib/archtable`"
 if test "x$archset" = "x"; then
   AC_MSG_ERROR(failed: use --host=)
 fi