Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6DF1CC43334 for ; Tue, 7 Jun 2022 14:04:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 27E4940B15; Tue, 7 Jun 2022 14:04:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vCW9rUWgFiRf; Tue, 7 Jun 2022 14:03:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id D6178410EB; Tue, 7 Jun 2022 14:03:57 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id F263F1BF360 for ; Tue, 7 Jun 2022 14:03:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id DFE4840B15 for ; Tue, 7 Jun 2022 14:03:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qZg6ZuUHud_a for ; Tue, 7 Jun 2022 14:03:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by smtp2.osuosl.org (Postfix) with ESMTPS id 09B9340AFA for ; Tue, 7 Jun 2022 14:03:54 +0000 (UTC) Received: (Authenticated sender: peter@korsgaard.com) by mail.gandi.net (Postfix) with ESMTPSA id 108AC20007; Tue, 7 Jun 2022 14:03:52 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.94.2) (envelope-from ) id 1nyZoG-0007pR-AT; Tue, 07 Jun 2022 16:03:52 +0200 From: Peter Korsgaard To: ckhardin@gmail.com References: <20220604032345.89818-1-ckhardin@gmail.com> Date: Tue, 07 Jun 2022 16:03:52 +0200 In-Reply-To: <20220604032345.89818-1-ckhardin@gmail.com> (ckhardin@gmail.com's message of "Fri, 3 Jun 2022 20:23:45 -0700") Message-ID: <87r1406053.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Subject: Re: [Buildroot] [PATCH 1/1] support/scripts: handle paths with regex characters in per-package X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "ckhardin" == ckhardin writes: > From: Charles Hardin > Some constraints on a setup ended up with a plus sign in the path > for historical reasons and would then fail to match on the comparison > of the host/lib dir match. So, the =~ for bash can be augmented > with a double quote expansion to preserve the literal value of > the characters in the variable. > Example Path: /home/vagrant/test+buildroot/per-package > Signed-off-by: Charles Hardin Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot