From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay02.ispgateway.de ([80.67.31.29]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1S7PxW-0006Bp-VU for ptxdist@pengutronix.de; Tue, 13 Mar 2012 12:32:07 +0100 Received: from [78.47.165.117] (helo=regiomontanus.bwalle.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1S7PxW-00005D-Ey for ptxdist@pengutronix.de; Tue, 13 Mar 2012 12:32:06 +0100 Date: Tue, 13 Mar 2012 12:32:04 +0100 From: Bernhard Walle Message-ID: <20120313113204.GA23420@regiomontanus.bwalle.de> References: <1329252947-118-1-git-send-email-bernhard@bwalle.de> <20120214220510.GQ25569@pengutronix.de> <20120312195617.GA13907@regiomontanus.bwalle.de> <20120313101432.GK29221@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120313101432.GK29221@pengutronix.de> Subject: Re: [ptxdist] [PATCH] ptxdist: Check for GNU readlink Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de * Michael Olbrich [2012-03-13 11:14]: > > Not the 'local', the whole function. Getting all corner-cases right for > something like this is not trivial. Ah, ok. Indeed. That's why I started using something from the Internet[tm] and that's also why I only replaced that initial "readlink -f" call to find the ptxdist directory by the Bash implementation. The rest should still be (g)readlink -f. The alternative would be a Perl one-liner or Python. But that would be add additional requirements. Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de