From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 1038EC70E for ; Tue, 5 May 2015 11:00:58 +0200 (CEST) Received: by wgiu9 with SMTP id u9so11934459wgi.3 for ; Tue, 05 May 2015 02:00:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=blDiLZX+KWNGvWriLmdWaCzp3RKV+WbojLCa4InSgBQ=; b=jOOaQQAaNkO1/yHN9LvnkF1AHCuOxUVpeJOU8zPhV79kjRjNhi+V1zSfiNFvV/S0Zj LY5nKOvxlELz9fuo03m2F+N1b9onnnJtZJp+C/WlVXChhlknqTziP+64gjzsNavadiT0 oQQ2+IOwYhhEVnE/kb8kV1jZRCTFWjNDAopw6XNeWxgtGpKq3NYKUmwsHr0C9ar6cgjn vZD3xrFsgTfWTju7EbkyLKsesVemcRZY5cOmP4myY9Aj7J4Q6oT8CtIdmA2f0yNFqCNn W0s2uWk9c3LwsbZlb0KxZ+P1n1egrV+6GbiM4qNl9W+A7lM7I/7OGLvow9d3QjUakSN4 CBdA== X-Gm-Message-State: ALoCoQkFPg4ajuv8UYGJttlyOgs0KRb5EsAvjgxWMBlf88d69Mx2o1DpgoAnmkSJ9FO2sdUaO2XX X-Received: by 10.194.81.169 with SMTP id b9mr47940638wjy.126.1430816457894; Tue, 05 May 2015 02:00:57 -0700 (PDT) Received: from [10.16.0.195] (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id l6sm24516934wjz.4.2015.05.05.02.00.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 May 2015 02:00:57 -0700 (PDT) Message-ID: <554886C8.4090408@6wind.com> Date: Tue, 05 May 2015 11:00:56 +0200 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 MIME-Version: 1.0 To: dev@dpdk.org, simon.kagstrom@netinsight.net References: <55476C37.8050702@netinsight.net> <1430816409-6773-1-git-send-email-olivier.matz@6wind.com> In-Reply-To: <1430816409-6773-1-git-send-email-olivier.matz@6wind.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] scripts: fix relpath.sh output when build dir is a symlink X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2015 09:00:58 -0000 Hi Simon, On 05/05/2015 11:00 AM, Olivier Matz wrote: > The script relpath.sh return the relative path of the first directory > from the second directory. It is used to generate relative symlinks, > which can be useful if the build directory is embedded in the dpdk > directory: the whole dpdk can be moved without breaking the links, > which is helpful for an installation. > > In case the build directory is a symlink, the script was not generating > the proper relative path. Fix this by calling "readlink -f" on the > arguments. > > Signed-off-by: Olivier Matz Can you have a try with this patch? Regards, Olivier