media/libstagefright/update-patches.sh
author Gregory Szorc <gps@mozilla.com>
Fri, 03 Jun 2016 21:20:59 +0000
branchGECKO400b1_2015070214_RELBRANCH
changeset 324569 df1c841aaf625881d9215b45d02c4f70afc54361
parent 201745 1917418786902a900ff00ff637f80efee5638301
permissions -rwxr-xr-x
Bug 1249802 - Close old branch GECKO400b1_2015070214_RELBRANCH

#!/bin/bash -e
cd `dirname "$0"`
rm -fR patches
for DIR in `find android/ -name .git`
do
    DIR=`dirname ${DIR}`
    DST=patches/${DIR:8}
    echo ${DST}
    mkdir -p `dirname ${DST}`
    cp -a ${DIR:8} `dirname ${DIR}`
    (cd ${DIR} && git diff) > ${DST}.patch
    (cd ${DIR} && git rev-parse HEAD) > ${DST}.tag
done