The latest patch broke this script.

The Grsec site published a patch for 3.10.0 and Kernel.org released the kernel as 3.10. Hack to fix this.