summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2001-11-16 12:50:42 +0000
committerDan Armak <danarmak@gentoo.org>2001-11-16 12:50:42 +0000
commit7930d078e07a84b308e958b4390b47c464894131 (patch)
tree860c388d37b0f024f9865776bf8113d4dfa47a33 /eclass/debug.eclass
parentThis is the big multi-kdelibs & eclasses v4 commit. have fun, send bugreports! (diff)
downloadhistorical-7930d078e07a84b308e958b4390b47c464894131.tar.gz
historical-7930d078e07a84b308e958b4390b47c464894131.tar.bz2
historical-7930d078e07a84b308e958b4390b47c464894131.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.eclass8
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: $*"
}