/[fai]/trunk/lib/subroutines
ViewVC logotype

Diff of /trunk/lib/subroutines

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 332 by lange, Thu Feb 8 14:56:17 2001 UTC revision 333 by lange, Fri Feb 9 10:49:39 2001 UTC
# Line 134  ifclass() { Line 134  ifclass() {
134  # test, if a certain class is defined  # test, if a certain class is defined
135    
136      for c in $classes; do      for c in $classes; do
137          case $c in          [ x$c = x$1 ] && return 0
            $1) return 0  
                 ;;  
         esac  
138      done      done
139      return 1      return 1
140  }  }

Legend:
Removed from v.332  
changed lines
  Added in v.333

  ViewVC Help
Powered by ViewVC 1.1.5