media/libstagefright/update-patches.sh
author Keita Mimura <k-mimura@onu.edu>
Tue, 07 Apr 2015 11:35:38 -0700
changeset 238128 af2151f856fbfe2391827c9d019dd661401bc4a5
parent 182523 1917418786902a900ff00ff637f80efee5638301
permissions -rwxr-xr-x
Bug 1137234 - Make middle clicks on search suggestions on about:home, about:newtab open search results in a background tab. r=adw

#!/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