Received: from spf3.us4.outblaze.com (spf3.us4.outblaze.com [205.158.62.25]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id j0SKsLrM007714 for ; Fri, 28 Jan 2005 20:54:22 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf3.us4.outblaze.com (Postfix) with ESMTP id 233E0536A1 for ; Fri, 28 Jan 2005 20:54:57 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CudLH-0001ee-Bg for migo@homemail.com; Fri, 28 Jan 2005 16:07:47 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CudKH-0001Ov-2o for gnu-arch-users@gnu.org; Fri, 28 Jan 2005 16:06:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CudKC-0001Me-OE for gnu-arch-users@gnu.org; Fri, 28 Jan 2005 16:06:41 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CudKC-0001Lc-Kr for gnu-arch-users@gnu.org; Fri, 28 Jan 2005 16:06:40 -0500 Received: from [204.152.186.145] (helo=kechara.flame.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Cud6c-00060X-Qw for gnu-arch-users@gnu.org; Fri, 28 Jan 2005 15:52:39 -0500 Received: (qmail 2201 invoked by uid 323); 28 Jan 2005 20:52:36 -0000 To: gnu-arch-users@gnu.org Mail-Followup-To: gnu-arch-users@gnu.org Subject: Re: [Gnu-arch-users] What's the rationale behind the cmd-build-config.c restrictions? References: <87zmyu50ym.fsf@trouble.defaultvalue.org> From: Matthew Dempsky Date: Fri, 28 Jan 2005 14:55:03 -0600 In-Reply-To: <87zmyu50ym.fsf@trouble.defaultvalue.org> (Rob Browning's message of "Thu, 27 Jan 2005 09:46:41 -0600") Message-ID: <87mzut5l5k.fsf@flame.org> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 981 Lines: 35 Rob Browning writes: > In cmd-build-config.c we have: > > if (!arch_valid_config_name (config)) > { > safe_printfmt (2, "%s: invalid config name (%s)\n", > argv[0], config); > exit (2); > } > > tree_root = arch_tree_root (0, dir, 0); > > if (!tree_root) > { > safe_printfmt (2, "%s: not in project tree (%s)\n", > argv[0], dir); > exit (1); > } > > What's the rationale behind these restrictions? Mostly it's because the config is built relative to the tree root. I suppose you could add a -d option (or something) for where the tree root should be located instead, and then it's no longer necessary to be in an arch tree. _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/