Mozilla/mozilla/security/nss/tests/jss_dll_version.sh
sonja.mirtitsch%sun.com a497037a95 version check for jss
git-svn-id: svn://10.0.0.236/trunk@105131 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 01:01:09 +00:00

23 lines
581 B
Bash
Executable File

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