public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/4/
Date: Fri, 25 Feb 2011 18:19:34 +0000 (UTC)	[thread overview]
Message-ID: <009ccb0caebe50da76a71deea824696c2acd2561.zmedico@gentoo> (raw)

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}



                 reply	other threads:[~2011-02-25 18:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=009ccb0caebe50da76a71deea824696c2acd2561.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox