[Fai-commit] r4228 - trunk/lib
Thomas Lange
lange at alioth.debian.org
Wed Feb 7 15:37:46 CET 2007
Author: lange
Date: 2007-02-07 15:37:45 +0100 (Wed, 07 Feb 2007)
New Revision: 4228
Modified:
trunk/lib/subroutines
Log:
ifclass() should append to stderr (closes: #409059)
Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines 2007-01-26 13:55:20 UTC (rev 4227)
+++ trunk/lib/subroutines 2007-02-07 14:37:45 UTC (rev 4228)
@@ -6,7 +6,7 @@
# subroutines -- useful subroutines for FAI
#
# This script is part of FAI (Fully Automatic Installation)
-# (c) 2000-2006 by Thomas Lange, lange at informatik.uni-koeln.de
+# (c) 2000-2007 by Thomas Lange, lange at informatik.uni-koeln.de
# Universitaet zu Koeln
#
#*********************************************************************
@@ -61,7 +61,7 @@
ifclass() {
- [ "$debug" ] && echo "Test if class $1 is in $classes" >/dev/stderr
+ [ "$debug" ] && echo "Test if class $1 is in $classes" >>/dev/stderr
# test if a class is defined
local cl
local ret=1
@@ -69,7 +69,7 @@
for cl in $classes; do
[ x$cl = x$1 ] && ret=0 && break
done
- [ "$debug" ] && echo "ifclass returns $ret" >/dev/stderr
+ [ "$debug" ] && echo "ifclass returns $ret" >>/dev/stderr
return $ret
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
More information about the Fai-commit
mailing list