From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4858D158089 for ; Sun, 8 Oct 2023 23:17:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E6F02BC017; Sun, 8 Oct 2023 23:17:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 478FB2BC017 for ; Sun, 8 Oct 2023 23:17:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2A146335C67 for ; Sun, 8 Oct 2023 23:17:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95F06AF9 for ; Sun, 8 Oct 2023 23:17:06 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1696807022.a4fdfd2a582485fcbb2f5deb9b3331e7175c8e8e.robbat2@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: scripts/ X-VCS-Repository: proj/releng X-VCS-Files: scripts/copy_buildsync.sh X-VCS-Directories: scripts/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: a4fdfd2a582485fcbb2f5deb9b3331e7175c8e8e X-VCS-Branch: master Date: Sun, 8 Oct 2023 23:17:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5e5cd31d-5d16-4050-a806-454a73e33f94 X-Archives-Hash: 3187efe913efa265579e91c7cb3af013 commit: a4fdfd2a582485fcbb2f5deb9b3331e7175c8e8e Author: Robin H. Johnson gentoo org> AuthorDate: Sun Oct 8 23:17:02 2023 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sun Oct 8 23:17:02 2023 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=a4fdfd2a copy_buildsync: fix relative globbing Signed-off-by: Robin H. Johnson gentoo.org> scripts/copy_buildsync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/copy_buildsync.sh b/scripts/copy_buildsync.sh index 59f08f0a..3d164504 100755 --- a/scripts/copy_buildsync.sh +++ b/scripts/copy_buildsync.sh @@ -218,7 +218,7 @@ process_arch() { # install new links # do NOT use -f here, we do not want to override the existing files. # this will ensure the mtime of the links does not change in most cases. - ln -s --target-directory="current-$v"/ "../${variant_path}"* + ( cd "$current_v" && ln -s --target-directory=. "../${variant_path}"* ) # Update keepfile echo "${variant_path}" | sed -e 's,/.*,,g' -e 's,^,/,g' -e 's,$,$,g' >>"${keepfile_tmp}"