summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-02-12 10:21:28 +0000
committerDan Armak <danarmak@gentoo.org>2002-02-12 10:21:28 +0000
commit9a50cab0031ce56fe37c9de5a56f67140e34ae45 (patch)
tree50f24da75d590d7afe7a9decd798a52ee731059c /eclass
parentNEWDEPEND - ditto (diff)
downloadgentoo-2-9a50cab0031ce56fe37c9de5a56f67140e34ae45.tar.gz
gentoo-2-9a50cab0031ce56fe37c9de5a56f67140e34ae45.tar.bz2
gentoo-2-9a50cab0031ce56fe37c9de5a56f67140e34ae45.zip
bugfix
Diffstat (limited to 'eclass')
-rw-r--r--eclass/debug.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/debug.eclass b/eclass/debug.eclass
index 4823180a48f5..28215cae6be7 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.8 2002/02/06 20:38:10 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/debug.eclass,v 1.9 2002/02/12 10:21:28 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.
@@ -25,7 +25,7 @@ debug-print() {
fi
# default target
- echo $1 >> ${BUILD_PREFIX}/${P}/temp/eclass-debug.log
+ [ -d "$BUILD_PREFIX/$P/temp" ] && echo $1 >> ${BUILD_PREFIX}/${P}/temp/eclass-debug.log
shift
done