make patch.sh easier to regenerate

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>