security/nss/tests/jss_dll_version.sh
author Vivien Nicolas <21@vingtetun.org>
Wed, 14 Dec 2011 11:34:33 +0100
changeset 83341 7c621c7bfea34f5a9ec5eb09b23c5ae7be1c8294
parent 15273 437dcecc6377817753fd3bdce409c69f978ac2e4
permissions -rwxr-xr-x
Bug 709010 - Add a empty components directory to b2g/. r=cjones

#!/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