michael@0: #!/bin/sh michael@0: michael@0: # version controll for DLLs michael@0: # ToDo: make version parameter or find version from first occurance of 3.x michael@0: # make the 3 a variable..., include the header michael@0: michael@0: for w in `find . -name "libjss3.s[ol]"` michael@0: do michael@0: NOWHAT=FALSE michael@0: NOIDENT=FALSE michael@0: echo $w michael@0: what $w | grep JSS || NOWHAT=TRUE michael@0: ident $w | grep JSS || NOIDENT=TRUE michael@0: if [ $NOWHAT = TRUE ] michael@0: then michael@0: echo "ERROR what $w does not contain JSS" michael@0: fi michael@0: if [ $NOIDENT = TRUE ] michael@0: then michael@0: echo "ERROR ident $w does not contain JSS" michael@0: fi michael@0: done