OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-re Date: 16-Jan-2004 12:55:45 Branch: HEAD Handle: 2004011611554500 Modified files: openpkg-re speclint.pl Log: introduce special FSL keyword test for accordance with FSL requirements in specfile (does this belong in speclint.pl or fsllint.pl?) Summary: Revision Changes Path 1.59 +10 -0 openpkg-re/speclint.pl ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-re/speclint.pl ============================================================================ $ cvs diff -u -r1.58 -r1.59 speclint.pl --- openpkg-re/speclint.pl 16 Jan 2004 11:49:10 -0000 1.58 +++ openpkg-re/speclint.pl 16 Jan 2004 11:55:45 -0000 1.59 @@ -836,6 +836,16 @@ } } +# TODO (ms): Convert following bourne shell script to Perl +# # check for special FSL keywords according to minimum FSL version requirements +# grep 'jitter' $fslfile >/dev/null 2>&1 +# jfound=$? +# grep 'monitor' $fslfile >/dev/null 2>&1 +# mfound=$? +# [ $jfound -eq 0 ] || [ $mfound -eq 0 ] && grep 'PreReq: *fsl >= 1.3.0' `echo $fslfile | sed -e 's;\/fsl\.;\/;' -`.spec >/dev/null 2>&1 +# broken=$? +# [ $broken -eq 1 ] && [ $jfound -eq 0 -o $mfound -eq 0 ] && echo "$fslfile Failed" + # check for sub-shell parenthesis style # (this is such complicated because the Bourne Shell has a # construct "case <value> in <pattern> ) <script> ;; ... esac" @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]