Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | #!/bin/sh |
michael@0 | 2 | |
michael@0 | 3 | # version controll for DLLs |
michael@0 | 4 | # ToDo: make version parameter or find version from first occurance of 3.x |
michael@0 | 5 | # make the 3 a variable..., include the header |
michael@0 | 6 | |
michael@0 | 7 | for w in `find . -name "libjss3.s[ol]"` |
michael@0 | 8 | do |
michael@0 | 9 | NOWHAT=FALSE |
michael@0 | 10 | NOIDENT=FALSE |
michael@0 | 11 | echo $w |
michael@0 | 12 | what $w | grep JSS || NOWHAT=TRUE |
michael@0 | 13 | ident $w | grep JSS || NOIDENT=TRUE |
michael@0 | 14 | if [ $NOWHAT = TRUE ] |
michael@0 | 15 | then |
michael@0 | 16 | echo "ERROR what $w does not contain JSS" |
michael@0 | 17 | fi |
michael@0 | 18 | if [ $NOIDENT = TRUE ] |
michael@0 | 19 | then |
michael@0 | 20 | echo "ERROR ident $w does not contain JSS" |
michael@0 | 21 | fi |
michael@0 | 22 | done |