Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 575612 Details for
Bug 682316
app-portage/portage-utils: qmerge should implement keepdir
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
575610: Impl. keepdir/dodir, v2
0001v2-qmerge-Implement-keepdir-and-dodir-bug-682316.patch (text/plain), 1017 bytes, created by
Joakim Tjernlund
on 2019-05-09 18:04:56 UTC
(
hide
)
Description:
575610: Impl. keepdir/dodir, v2
Filename:
MIME Type:
Creator:
Joakim Tjernlund
Created:
2019-05-09 18:04:56 UTC
Size:
1017 bytes
patch
obsolete
>From b0bd233329724fa77aa4917849a5eab25ccb6d39 Mon Sep 17 00:00:00 2001 >From: Joakim Tjernlund <joakim.tjernlund@infinera.com> >Date: Thu, 9 May 2019 19:25:58 +0200 >Subject: [PATCH] qmerge: Implement keepdir and dodir, bug #682316 > >Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com> >--- > qmerge.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/qmerge.c b/qmerge.c >index 84b0cff..d642df6 100644 >--- a/qmerge.c >+++ b/qmerge.c >@@ -733,6 +733,8 @@ pkg_run_func_at(int dirfd, const char *vdb_path, const char *phases, const char > "nonfatal() { \"$@\"; }\n" > "ebegin() { printf ' * %%b ...' \"$*\"; }\n" > "eend() { local r=${1:-$?}; [ $# -gt 0 ] && shift; [ $r -eq 0 ] && echo ' [ ok ]' || echo \" $* \"'[ !! ]'; return $r; }\n" >+ "dodir() { mkdir -p \"$@\"; }\n" >+ "keepdir() { dodir \"$@\" && touch \"$@\"/.keep_${CATEGORY}_${PN}-${SLOT%%/*}; }\n" > /* TODO: This should be fatal upon error */ > "emake() { ${MAKE:-make} ${MAKEOPTS} \"$@\"; }\n" > /* Unpack the env if need be */ >-- >2.21.0 >
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 682316
:
575610
| 575612