From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] buildtools: allow symlinks within a source directory Date: Sun, 29 Jan 2017 22:22:51 +0100 Message-ID: <2886308.Ba0toajx0i@xps13> References: <1485173488-346-1-git-send-email-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Bruce Richardson Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 9956EBD2A for ; Sun, 29 Jan 2017 22:22:52 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id b65so7119885wmf.0 for ; Sun, 29 Jan 2017 13:22:52 -0800 (PST) In-Reply-To: <1485173488-346-1-git-send-email-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-01-23 12:11, Bruce Richardson: > When creating the symlinks for header files to the include folder, the > relpath script dereferenced all symlinks. This made it impossible to > have file A.h renamed to B.h and then symlinked back to its original > name. This is useful to be able to do when refactoring or reworking > a library. Change this so that we just use the dirname of the path from > readlink, we can use the basename as it was originally, even if it was a > symlink. > > Signed-off-by: Bruce Richardson Applied, thanks