Update PA-jellybean-legacy patches
[auto-patcher.git] / diff_tools / changes.sh
bloba3fee8ea0dca50b16b78d2dd5395c0c10c0b5f20
1 #!/bin/bash
3 for JAR in core services framework; do
4 awk -f untime.awk $1/$JAR.patch > _1_$JAR.patch
5 awk -f untime.awk $2/$JAR.patch > _2_$JAR.patch
6 diff _1_$JAR.patch _2_$JAR.patch > _12_$JAR.patch
7 [ -s _12_$JAR.patch ] && ( echo "### $JAR ###"; cat _12_$JAR.patch)
8 \rm -f _1_$JAR.patch _2_$JAR.patch _12_$JAR.patch
9 done