Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 356389 | Differences between
and this patch

Collapse All | Expand All

(-)a/bin/ebuild-helpers/4/dodoc (-1 / +3 lines)
Lines 27-32 for x in "$@" ; do Link Here
27
27
28
	if [ -d "${x}" ] ; then
28
	if [ -d "${x}" ] ; then
29
		if [[ ${DOINSRECUR} == "n" ]] ; then
29
		if [[ ${DOINSRECUR} == "n" ]] ; then
30
			echo "!!! ${0##*/}: $x is a directory" 1>&2
31
			((ret|=1))
30
			continue
32
			continue
31
		fi
33
		fi
32
34
Lines 36-42 for x in "$@" ; do Link Here
36
				${0} -r {} \;
38
				${0} -r {} \;
37
39
38
	elif [ -s "${x}" ] ; then
40
	elif [ -s "${x}" ] ; then
39
		install -m0644 "${x}" "${dir}"
41
		install -m0644 "${x}" "${dir}" || ((ret|=1))
40
	elif [ ! -e "${x}" ] ; then
42
	elif [ ! -e "${x}" ] ; then
41
		echo "!!! ${0##*/}: $x does not exist" 1>&2
43
		echo "!!! ${0##*/}: $x does not exist" 1>&2
42
		((ret|=1))
44
		((ret|=1))
(-)a/bin/ebuild-helpers/dodoc (-3 / +4 lines)
Lines 16-23 fi Link Here
16
16
17
ret=0
17
ret=0
18
for x in "$@" ; do
18
for x in "$@" ; do
19
	if [ -s "${x}" ] ; then
19
	if [ -d "${x}" ] ; then
20
		install -m0644 "${x}" "${dir}"
20
		eqawarn "QA Notice: dodoc argument '${x}' is a directory"
21
	elif [ -s "${x}" ] ; then
22
		install -m0644 "${x}" "${dir}" || { ((ret|=1)); continue; }
21
		ecompress --queue "${dir}/${x##*/}"
23
		ecompress --queue "${dir}/${x##*/}"
22
	elif [ ! -e "${x}" ] ; then
24
	elif [ ! -e "${x}" ] ; then
23
		echo "!!! ${0##*/}: $x does not exist" 1>&2
25
		echo "!!! ${0##*/}: $x does not exist" 1>&2
24
- 

Return to bug 356389