The current base Makefile includes these lines: @UNAME=`uname -r | sed 's/-.*//'`; \ if [ $$UNAME '>' "2.6.15" ]; then \
That fails because it does an alphabetical comparison and says that 2.6.9 is greater than 2.6.15. The following pads the parts of the version number with a zero as needed so that the comparison works. It's not the prettiest code in the world, but it does the trick. @UNAME=`uname -r | sed 's/-.*//' | sed '[EMAIL PROTECTED]([0-9]\)@[EMAIL PROTECTED]' | sed '[EMAIL PROTECTED]([0-9][0-9]\)@[EMAIL PROTECTED]'`; \ if [ $$UNAME -gt "2.06.15" ]; then \ -- Note - So that we can better serve you, please mention the site name or URL that you are referring to in all emails. Ray B. Morris [EMAIL PROTECTED] Strongbox - The next generation in site security: http://www.bettercgi.com/strongbox/ _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
