projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c92a22f
)
avoid cd-ing into ED, which may not exist, omit unnecessary cd at the same time
author
Fabian Groffen
<grobian@gentoo.org>
Wed, 9 Dec 2009 18:18:17 +0000
(18:18 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Wed, 9 Dec 2009 18:18:17 +0000
(18:18 -0000)
svn path=/main/branches/prefix/; revision=14980
bin/ebuild-helpers/prepalldocs
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/prepalldocs
b/bin/ebuild-helpers/prepalldocs
index 6dbdaa848fdf28b515b4b6be03123631e58d40a6..938b82038558b553eb5b9097caa5a15a1eb41a64 100755
(executable)
--- a/
bin/ebuild-helpers/prepalldocs
+++ b/
bin/ebuild-helpers/prepalldocs
@@
-9,8
+9,7
@@
if [[ -n $1 ]] ; then
vecho "${0##*/}: invalid usage; takes no arguments" 1>&2
fi
-cd "${ED}"
-[[ -d usr/share/doc ]] || exit 0
+[[ -d "${ED}"/usr/share/doc ]] || exit 0
ecompressdir --ignore /usr/share/doc/${PF}/html
ecompressdir --queue /usr/share/doc