X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fcheckversion.pl;fp=scripts%2Fcheckversion.pl;h=9f84e562318d68983c4cf4f6a9fb69670b7f3b3f;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=ec7d21161bdcb873ee38926c4097a23b44702880;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/scripts/checkversion.pl b/scripts/checkversion.pl index ec7d21161..9f84e5623 100755 --- a/scripts/checkversion.pl +++ b/scripts/checkversion.pl @@ -1,7 +1,7 @@ #! /usr/bin/perl # -# checkversion find uses of LINUX_VERSION_CODE or KERNEL_VERSION -# without including , or cases of +# checkversion find uses of LINUX_VERSION_CODE, KERNEL_VERSION, or +# UTS_RELEASE without including , or cases of # including that don't need it. # Copyright (C) 2003, Randy Dunlap @@ -41,7 +41,8 @@ foreach $file (@ARGV) } # Look for uses: LINUX_VERSION_CODE, KERNEL_VERSION, UTS_RELEASE - if (($_ =~ /LINUX_VERSION_CODE/) || ($_ =~ /\WKERNEL_VERSION/)) { + if (($_ =~ /LINUX_VERSION_CODE/) || ($_ =~ /\WKERNEL_VERSION/) || + ($_ =~ /UTS_RELEASE/)) { $fUseVersion = 1; last LINE if $iLinuxVersion; }