public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/4/
@ 2011-02-25 18:19 Zac Medico
  0 siblings, 0 replies; only message in thread
From: Zac Medico @ 2011-02-25 18:19 UTC (permalink / raw
  To: gentoo-commits

commit:     009ccb0caebe50da76a71deea824696c2acd2561
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 25 18:18:38 2011 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Feb 25 18:18:38 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=009ccb0c

dodoc: quote ${0}

---
 bin/ebuild-helpers/4/dodoc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/ebuild-helpers/4/dodoc b/bin/ebuild-helpers/4/dodoc
index 66a1f08..617bae2 100755
--- a/bin/ebuild-helpers/4/dodoc
+++ b/bin/ebuild-helpers/4/dodoc
@@ -35,7 +35,7 @@ for x in "$@" ; do
 		find "${x}" -mindepth 1 -maxdepth 1 -exec \
 			env \
 				_E_DOCDESTTREE_="$(basename "${x}")" \
-				${0} -r {} \;
+				"${0}" -r {} \;
 
 	elif [ -s "${x}" ] ; then
 		install -m0644 "${x}" "${dir}" || ((ret|=1))
@@ -46,5 +46,5 @@ for x in "$@" ; do
 
 done
 
-[[ $ret -ne 0 ]] && die "$0 failed"
+[[ $ret -ne 0 ]] && die "${0##*/} failed"
 exit ${ret}



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

only message in thread, other threads:[~2011-02-25 18:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-25 18:19 [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/4/ Zac Medico

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