public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r14584 - in main/branches/2.1.7/bin: . ebuild-helpers
@ 2009-10-11 23:46 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-10-11 23:46 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2009-10-11 23:46:09 +0000 (Sun, 11 Oct 2009)
New Revision: 14584

Added:
   main/branches/2.1.7/bin/ebuild-helpers/dohtml
Modified:
   main/branches/2.1.7/bin/ebuild.sh
Log:
Use a shell script for dohtml instead of a function, for xargs compatibility.
(trunk r14582)

Copied: main/branches/2.1.7/bin/ebuild-helpers/dohtml (from rev 14582, main/trunk/bin/ebuild-helpers/dohtml)
===================================================================
--- main/branches/2.1.7/bin/ebuild-helpers/dohtml	                        (rev 0)
+++ main/branches/2.1.7/bin/ebuild-helpers/dohtml	2009-10-11 23:46:09 UTC (rev 14584)
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Copyright 2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PORTAGE_BIN_PATH=${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}
+PORTAGE_PYM_PATH=${PORTAGE_PYM_PATH:-/usr/lib/portage/pym}
+# Set EPYTHON variable as empty so that dohtml doesn't try
+# to use potentially unsupported version of Python.
+EPYTHON= PYTHONPATH=$PORTAGE_PYM_PATH${PYTHONPATH:+:}$PYTHONPATH \
+	exec "$PORTAGE_BIN_PATH/dohtml.py" "$@"

Modified: main/branches/2.1.7/bin/ebuild.sh
===================================================================
--- main/branches/2.1.7/bin/ebuild.sh	2009-10-11 23:46:01 UTC (rev 14583)
+++ main/branches/2.1.7/bin/ebuild.sh	2009-10-11 23:46:09 UTC (rev 14584)
@@ -227,13 +227,6 @@
 	esac
 }
 
-dohtml() {
-	# Set EPYTHON variable as empty so that dohtml doesn't try
-	# to use potentially unsupported version of Python.
-	EPYTHON= PYTHONPATH=${PORTAGE_PYM_PATH}${PYTHONPATH:+:}${PYTHONPATH} \
-	"${PORTAGE_BIN_PATH}/ebuild-helpers/dohtml" "$@"
-}
-
 use_with() {
 	if [ -z "$1" ]; then
 		echo "!!! use_with() called without a parameter." >&2




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

only message in thread, other threads:[~2009-10-11 23:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-11 23:46 [gentoo-commits] portage r14584 - in main/branches/2.1.7/bin: . ebuild-helpers Zac Medico (zmedico)

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