diff options
author | 2023-10-08 16:17:02 -0700 | |
---|---|---|
committer | 2023-10-08 16:17:02 -0700 | |
commit | a4fdfd2a582485fcbb2f5deb9b3331e7175c8e8e (patch) | |
tree | 6c0beee90f996eef58395a9a280318a48257595a /scripts | |
parent | copy_buildsync: fix check typo (diff) | |
download | releng-a4fdfd2a582485fcbb2f5deb9b3331e7175c8e8e.tar.gz releng-a4fdfd2a582485fcbb2f5deb9b3331e7175c8e8e.tar.bz2 releng-a4fdfd2a582485fcbb2f5deb9b3331e7175c8e8e.zip |
copy_buildsync: fix relative globbing
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/copy_buildsync.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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}" |