From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id A18973857364; Fri, 5 Aug 2022 19:29:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A18973857364 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Szabolcs Nagy To: glibc-cvs@sourceware.org Subject: [glibc/arm/morello/main] Fix the symbolic link of multilib dirs X-Act-Checkin: glibc X-Git-Author: Szabolcs Nagy X-Git-Refname: refs/heads/arm/morello/main X-Git-Oldrev: 30719666f854d4c0c6b8b2430dd1dff78851d59f X-Git-Newrev: a87b3fcbb33e59dd9dc00d1aff88c0d80352f488 Message-Id: <20220805192955.A18973857364@sourceware.org> Date: Fri, 5 Aug 2022 19:29:55 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2022 19:29:55 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a87b3fcbb33e59dd9dc00d1aff88c0d80352f488 commit a87b3fcbb33e59dd9dc00d1aff88c0d80352f488 Author: Szabolcs Nagy Date: Wed Jun 8 14:09:28 2022 +0100 Fix the symbolic link of multilib dirs If dir contains several / then 'ln -s . $dir' does not link it to the current directory. Use the existing rellns.sh script to compute the correct relative path to . Diff: --- Makerules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makerules b/Makerules index d1e139d03c..591893c6a3 100644 --- a/Makerules +++ b/Makerules @@ -1002,7 +1002,7 @@ endef define make-link-multidir $(patsubst %/,cd %,$(objpfx)); \ $(addprefix $(abspath $(..)scripts/mkinstalldirs) ,$(dir $(multidir))); \ - $(LN_S) . $(multidir) 2> /dev/null; \ + $(SHELL) $(abspath $(..)scripts/rellns-sh) . $(multidir) 2> /dev/null; \ test -L $(multidir) endef else