From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 48C3F13884B for ; Mon, 4 Feb 2013 11:01:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A012621C021; Mon, 4 Feb 2013 11:01:35 +0000 (UTC) Received: from spot.xmw.de (spot.xmw.de [176.9.87.236]) by pigeon.gentoo.org (Postfix) with ESMTP id 9AD3B21C008 for ; Mon, 4 Feb 2013 11:01:34 +0000 (UTC) Received: from [IPv6:2001:6f8:1cd1:0:21d:72ff:fe88:9ac1] (x.l.xmw.de [IPv6:2001:6f8:1cd1:0:21d:72ff:fe88:9ac1]) by spot.xmw.de (Postfix) with ESMTPSA id CC16114410AFE for ; Mon, 4 Feb 2013 12:01:33 +0100 (CET) Message-ID: <510F9505.30304@gentoo.org> Date: Mon, 04 Feb 2013 12:01:25 +0100 From: Michael Weber User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130114 Thunderbird/17.0.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] meaning of EROOT References: <87wqupsljq.fsf@proton.in.awa.tohoku.ac.jp> In-Reply-To: <87wqupsljq.fsf@proton.in.awa.tohoku.ac.jp> X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 052684e4-84c7-4f84-a209-e0d20cbff0ff X-Archives-Hash: 65fefd924e7471bf93098d1e561ed752 On 02/03/2013 12:07 PM, heroxbd wrote: > self.eroot = self.target_root.rstrip(os.sep) + self.eprefix + os.sep wouldn't be this more robust >>> import os >>> os.path.normpath('/some/' + os.path.sep + '/stuff/') + os.path.sep '/some/stuff/' -- Michael Weber Gentoo Developer web: https://xmw.de/ mailto: Michael Weber