Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 863083 Details for
Bug 907696
savedconfig.eclass - don't preserve symlinks
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-savedconfig.eclass-do-not-preserve-symlink-in-restor.patch (text/plain), 966 bytes, created by
Mike Gilbert
on 2023-06-03 01:43:32 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2023-06-03 01:43:32 UTC
Size:
966 bytes
patch
obsolete
>From 76574d4bde0704099b6ac9d839b94beb5bb1bc36 Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Fri, 2 Jun 2023 21:41:47 -0400 >Subject: [PATCH] savedconfig.eclass: do not preserve symlink in restore_config > >Closes: https://bugs.gentoo.org/907696 >Signed-off-by: Mike Gilbert <floppym@gentoo.org> >--- > eclass/savedconfig.eclass | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass >index cc5748543078..a778dfba0245 100644 >--- a/eclass/savedconfig.eclass >+++ b/eclass/savedconfig.eclass >@@ -124,8 +124,8 @@ restore_config() { > > if [[ -f ${found} ]]; then > elog "Building using saved configfile \"${found}\"" >- if [ $# -gt 0 ]; then >- cp -pPR "${found}" "$1" || die "Failed to restore ${found} to $1" >+ if [[ $# -gt 0 ]]; then >+ cp -p "${found}" "$1" || die "Failed to restore ${found} to $1" > else > die "need to know the restoration filename" > fi >-- >2.40.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 907696
:
863043
| 863083