public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r14980 - main/branches/prefix/bin/ebuild-helpers
@ 2009-12-09 18:18 Fabian Groffen (grobian)
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2009-12-09 18:18 UTC (permalink / raw
  To: gentoo-commits

Author: grobian
Date: 2009-12-09 18:18:17 +0000 (Wed, 09 Dec 2009)
New Revision: 14980

Modified:
   main/branches/prefix/bin/ebuild-helpers/prepalldocs
Log:
avoid cd-ing into ED, which may not exist, omit unnecessary cd at the same time

Modified: main/branches/prefix/bin/ebuild-helpers/prepalldocs
===================================================================
--- main/branches/prefix/bin/ebuild-helpers/prepalldocs	2009-12-09 18:03:23 UTC (rev 14979)
+++ main/branches/prefix/bin/ebuild-helpers/prepalldocs	2009-12-09 18:18:17 UTC (rev 14980)
@@ -9,8 +9,7 @@
 	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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-09 18:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-09 18:18 [gentoo-commits] portage r14980 - main/branches/prefix/bin/ebuild-helpers Fabian Groffen (grobian)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox