Fixes for untime
[auto-patcher.git] / diff_tools / untime.awk
blobf170035e2da218dee6af641fa725b6854ec1550d
1 # remove time stamp
2 /^--- stock_/ { print $1 " " $2; next; }
3 /^+++ modded_/ { print $1 " " $2; next; }
5 # convert obsolete form
6 /^diff -Npru / { sub(/diff -Npru /, "diff -NpruEbB -x '*RIL'"); }
7 /stock-/ { sub(/stock-/, "stock_"); sub(/modded-/, "modded_"); print; next; }
9 # keep rest of file as is:
10 { print; }