Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 263759 Details for
Bug 356389
dodoc ignores exit status of underlying install
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-dodoc-Honour-exit-status-of-install-bug-356389.patch (text/plain), 1.20 KB, created by
Ulrich Müller
on 2011-02-25 07:38:23 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2011-02-25 07:38:23 UTC
Size:
1.20 KB
patch
obsolete
>From f20d75c51ffa1cfb009dd40237c9f492d74b989a Mon Sep 17 00:00:00 2001 >From: Ulrich Mueller <ulm@gentoo.org> >Date: Fri, 25 Feb 2011 08:43:17 +0100 >Subject: [PATCH] dodoc: Honour exit status of install, bug 356389. > >--- > bin/ebuild-helpers/4/dodoc | 2 +- > bin/ebuild-helpers/dodoc | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/bin/ebuild-helpers/4/dodoc b/bin/ebuild-helpers/4/dodoc >index d32343c..0fdf357 100755 >--- a/bin/ebuild-helpers/4/dodoc >+++ b/bin/ebuild-helpers/4/dodoc >@@ -36,7 +36,7 @@ for x in "$@" ; do > ${0} -r {} \; > > elif [ -s "${x}" ] ; then >- install -m0644 "${x}" "${dir}" >+ install -m0644 "${x}" "${dir}" || ((ret|=1)) > elif [ ! -e "${x}" ] ; then > echo "!!! ${0##*/}: $x does not exist" 1>&2 > ((ret|=1)) >diff --git a/bin/ebuild-helpers/dodoc b/bin/ebuild-helpers/dodoc >index 29b6901..ad7b693 100755 >--- a/bin/ebuild-helpers/dodoc >+++ b/bin/ebuild-helpers/dodoc >@@ -17,7 +17,7 @@ fi > ret=0 > for x in "$@" ; do > if [ -s "${x}" ] ; then >- install -m0644 "${x}" "${dir}" >+ install -m0644 "${x}" "${dir}" || { ((ret|=1)); continue; } > ecompress --queue "${dir}/${x##*/}" > elif [ ! -e "${x}" ] ; then > echo "!!! ${0##*/}: $x does not exist" 1>&2 >-- >1.7.4.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 356389
:
263759
|
263763
|
263765