diff options
author | Dan Armak <danarmak@gentoo.org> | 2001-11-16 12:50:42 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2001-11-16 12:50:42 +0000 |
commit | 722473d965b6095618040c07e72063470a138b8d (patch) | |
tree | 87e74ba62a1aa8a4c470bcec2471ee303785820a /eclass/debug.eclass | |
parent | A patch to define LIBXSLT_PUBLIC if undefined (this thing is only used on (diff) | |
download | gentoo-2-722473d965b6095618040c07e72063470a138b8d.tar.gz gentoo-2-722473d965b6095618040c07e72063470a138b8d.tar.bz2 gentoo-2-722473d965b6095618040c07e72063470a138b8d.zip |
This is the big multi-kdelibs & eclasses v4 commit. have fun, send bugreports!
Diffstat (limited to 'eclass/debug.eclass')
-rw-r--r-- | eclass/debug.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/debug.eclass b/eclass/debug.eclass index 709c60da91c5..1447de55bcfc 100644 --- a/eclass/debug.eclass +++ b/eclass/debug.eclass @@ -1,7 +1,7 @@ # 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.4 2001/10/03 17:10:16 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/debug.eclass,v 1.5 2001/11/16 12:50:41 danarmak Exp $ # This provides functions for verbose output for debugging # Note: we check whether these settings are set by "if [ "$FOO" ]; then". @@ -9,7 +9,7 @@ # redirect output, unset to disable # use e.g. /dev/tty. -# todo: add support for loging into a file. +# todo: add support for logging into a file. DEBUG_OUTPUT="" # used internally for output @@ -21,7 +21,7 @@ debug-print() { while [ "$1" ]; do echo "debug: $1" > $DEBUG_OUTPUT - shift + shift done } @@ -32,7 +32,7 @@ debug-print-function() { str="now in function $1" shift - debug-print "$str" "parameters: $*" + debug-print "$str, parameters: $*" } |