Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id j0RFnJqP003409 for ; Thu, 27 Jan 2005 15:49:19 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id C44DA76E6A for ; Thu, 27 Jan 2005 15:49:53 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CuC6S-00059m-1V for migo@homemail.com; Thu, 27 Jan 2005 11:02:40 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CuC5o-00050r-6V for gnu-arch-users@gnu.org; Thu, 27 Jan 2005 11:02:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CuC5k-0004zP-Ej for gnu-arch-users@gnu.org; Thu, 27 Jan 2005 11:01:56 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CuC5j-0004ym-SU for gnu-arch-users@gnu.org; Thu, 27 Jan 2005 11:01:55 -0500 Received: from [66.93.216.237] (helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CuBr1-0000gw-51 for gnu-arch-users@gnu.org; Thu, 27 Jan 2005 10:46:43 -0500 Received: from trouble.defaultvalue.org (omen.defaultvalue.org [192.168.1.1]) by defaultvalue.org (Postfix) with ESMTP id 7E0A04131 for ; Thu, 27 Jan 2005 09:46:41 -0600 (CST) Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id CAF623C101A; Thu, 27 Jan 2005 09:46:41 -0600 (CST) To: gnu-arch-users@gnu.org From: Rob Browning Date: Thu, 27 Jan 2005 09:46:41 -0600 Message-ID: <87zmyu50ym.fsf@trouble.defaultvalue.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 Subject: [Gnu-arch-users] What's the rationale behind the cmd-build-config.c restrictions? 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: 1138 Lines: 47 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? i.e. why isn't something like this OK: rm -rf foo && mkdir foo cd foo tla build-config /home/blarg/bar/bar-1.2.5 or tla build-config ../../blarg/bar/bar-1.2.5 For certain purposes, these operations would be quite helpful, so I wanted to understand why they're explicitly disallowed. Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ 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/