From: Jameson Graef Rollins Date: Sat, 2 Jun 2012 18:23:46 +0000 (+1700) Subject: Re: bug in configure script X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d90ad1ac705d289836eed9ffc46e4694093e8110;p=notmuch-archives.git Re: bug in configure script --- diff --git a/1c/027397e1d521250ee54dcf130cab27b2b3bc3e b/1c/027397e1d521250ee54dcf130cab27b2b3bc3e new file mode 100644 index 000000000..f44da83e3 --- /dev/null +++ b/1c/027397e1d521250ee54dcf130cab27b2b3bc3e @@ -0,0 +1,111 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id D2331431FBC + for ; Sat, 2 Jun 2012 11:23:54 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.29 +X-Spam-Level: +X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id oCn9zzNRmWHH for ; + Sat, 2 Jun 2012 11:23:53 -0700 (PDT) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id C2DFC431FAF + for ; Sat, 2 Jun 2012 11:23:53 -0700 (PDT) +Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by fire-doxen-postvirus (Postfix) with ESMTP id 792212E50D8C; + Sat, 2 Jun 2012 11:23:53 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new +Received: from finestructure.net (unknown [76.89.192.57]) + (Authenticated sender: jrollins) + by fire-doxen-submit (Postfix) with ESMTP id BABD52E50724; + Sat, 2 Jun 2012 11:23:50 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id 6C69F3A7; Sat, 2 Jun 2012 11:23:49 -0700 (PDT) +From: Jameson Graef Rollins +To: Tomi Ollila , Notmuch Mail +Subject: Re: bug in configure script +In-Reply-To: +References: <87pq9ivqvy.fsf@servo.finestructure.net> + +User-Agent: Notmuch/0.13.1+41~g4f069cc (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Sat, 02 Jun 2012 11:23:46 -0700 +Message-ID: <87fwadbmj1.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 02 Jun 2012 18:23:55 -0000 + +--=-=-= +Content-Transfer-Encoding: quoted-printable + +On Sat, Jun 02 2012, Tomi Ollila wrote: +> I tried some alternatives on command line: +> +> $ readonly FOO1=3D$IFS +> $ echo "$FOO1" | od -f x1 +> 0000000 0a +> 0000001 +> +> $ readonly FOO2=3D"$IFS"=20 +> $ echo "$FOO2" | od -f x1 +> 0000000 20 09 0a 0a +> 0000004 +> +> $ FOO3=3D$IFS +> $ readonly FOO3 +> $ echo "$FOO4" | od -f x1 +> 0000000 20 09 0a 0a +> 0000004 + +I think there must have been some copy/paste or transcription error +here? FOO4 isn't something that you had previous set (or at least not +in what is shown). + +In any event, it's clear from your second example that all we needed to +do was just quote the IFS when saving. That fixed the problem for me, +so I submitted a patch. I'm ashamed I didn't just see that solution +right off the bat. Thanks for the inspiration, Tomi. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAEBCAAGBQJPylozAAoJEO00zqvie6q8pEoP/jNKK0R3/iuUMs5XE8bo3vQ2 +WxgqOGlRgKb5Y2V1O8vQjtd5ysNIIsidZK3cfia5EMCPiZRLR/qSaD9cZCCb6HcK +EQUdQimIouG5uTatXp51Tv4Zeb5DrrG8d6dcO2X1QpZHdWpprx1oeS4lF9I537U1 +4jrIQmGiz71XLiT43S+I/wCz2T0xCOfQstKjpj/sXKCHCjd2a2Is4ntbNNGV9zDQ +5m/vH4PfIs75TPCr3EvRzyhnsmR+eanbLwdbOAXjr/0nWfaVep4H+ZfsnihS6Hdk +ZipREvbmQn0VABeGU9daea8Zj+LyyuOQbhWVaaJY5fS7UGhJZAB1AIrUagzLpSA4 +Wn57XWw1rzgoGE2cWXyd0M/rtaPHTBf+pavAPuSh4vR2Z8iUQGiIJtSI0/4mlWhq +EEsLiRlyUi0iTgVsesM5i0YdiLo6wPZ/np1P27smVKJAfqHvpnpz2DdZV8R0URV8 +0q0V/CJkSukSG2sh4zwrWz6Ltp8IkbfncMTK1IboFtpds0JecpeDj7q2wttyDcRZ +f9fH4jgLAZg2gM8BgRxwXolr0pXHXY+gPxiei7XG1Bw79yZPTt335vOMnskDjLSz +qBkganFDF2LEWcSBSCBLTyv2QhhpMa5zhdH7KnloK+fUcK60Uo92tCQzZtL8zTc+ +YZWzPh9/B3cY3bzoKEoc +=dL0t +-----END PGP SIGNATURE----- +--=-=-=--