diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index 5dd7bb9fc..d4fd264dd 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -586,9 +586,7 @@ do download_kernel $k || continue generate_kernel_patch $k || continue test_if_patch_applies_cleanly $k || continue - if [ "${first_iteration}" = "true" \ - -o "${kernel_version#2.6.26}" != "${kernel_version}" ] - then + if [ "${first_iteration}" = "true" -o "${k#2.6.26}" != "$k" ]; then first_iteration="false" run_checkpatch $k patch_and_configure_kernel $k