summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-03-27 18:32:33 +0000
committerDan Armak <danarmak@gentoo.org>2002-03-27 18:32:33 +0000
commit75ce825ce63caf50a4cb0a6cb85fd551b4b786af (patch)
tree3574979157624d94abce62f7a4f2d0ac9b91ddd5 /eclass/debug.eclass
parentUpdate intltool to latest release (diff)
downloadgentoo-2-75ce825ce63caf50a4cb0a6cb85fd551b4b786af.tar.gz
gentoo-2-75ce825ce63caf50a4cb0a6cb85fd551b4b786af.tar.bz2
gentoo-2-75ce825ce63caf50a4cb0a6cb85fd551b4b786af.zip
*** empty log message ***
Diffstat (limited to 'eclass/debug.eclass')
-rw-r--r--eclass/debug.eclass50
1 files changed, 0 insertions, 50 deletions
diff --git a/eclass/debug.eclass b/eclass/debug.eclass
deleted file mode 100644
index 026f98167fda..000000000000
--- a/eclass/debug.eclass
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/debug.eclass,v 1.10 2002/03/03 05:17:20 danarmak Exp $
-# This provides functions for verbose output for debugging
-
-# redirect output, unset to disable. use e.g. /dev/stdout to write into a file/device.
-# use special setting "on" to echo the output - unlike above, doesn't violate sandbox.
-# the test here is to enable people to export DEBUG_OUTPUT before running ebuild/emerge
-# so that they won't have to edit debug.eclass anymore
-#[ -n "$ECLASS_DEBUG_OUTPUT" ] || ECLASS_DEBUG_OUTPUT="on"
-
-# used internally for output
-# redirects output wherever's needed
-# in the future might use e* from /etc/init.d/functions.sh if i feel like it
-debug-print() {
-
- while [ "$1" ]; do
-
- # extra user-configurable targets
- if [ "$ECLASS_DEBUG_OUTPUT" == "on" ]; then
- echo "debug: $1"
- elif [ -n "$ECLASS_DEBUG_OUTPUT" ]; then
- echo "debug: $1" >> $ECLASS_DEBUG_OUTPUT
- fi
-
- # default target
- [ -d "$BUILD_PREFIX/$P/temp" ] && echo $1 >> ${T}/eclass-debug.log
-
- shift
- done
-
-}
-
-# std message functions
-
-debug-print-function() {
-
- str="$1: entering function"
- shift
- debug-print "$str, parameters: $*"
-
-}
-
-debug-print-section() {
-
- debug-print "now in section $*"
-
-}
-