#!/bin/bash cd $base"kernel/lge/bullhead" git apply $cvePatches"CVE-2014-8173"/*.patch && echo 'Applied fix for CVE-2014-8173' git apply $cvePatches"CVE-2014-9781"/*.patch && echo 'Applied fix for CVE-2014-9781' git apply $cvePatches"CVE-2015-2041"/*.patch && echo 'Applied fix for CVE-2015-2041' git apply $cvePatches"CVE-2015-4170"/*.patch && echo 'Applied fix for CVE-2015-4170' git apply $cvePatches"CVE-2015-4177"/*.patch && echo 'Applied fix for CVE-2015-4177' git apply $cvePatches"CVE-2015-7550"/*.patch && echo 'Applied fix for CVE-2015-7550' git apply $cvePatches"CVE-2016-0805"/*.patch && echo 'Applied fix for CVE-2016-0805' git apply $cvePatches"CVE-2016-2063"/*.patch && echo 'Applied fix for CVE-2016-2063' git apply $cvePatches"CVE-2016-2185"/*.patch && echo 'Applied fix for CVE-2016-2185' git apply $cvePatches"CVE-2016-2186"/*.patch && echo 'Applied fix for CVE-2016-2186' git apply $cvePatches"CVE-2016-2187"/*.patch && echo 'Applied fix for CVE-2016-2187' git apply $cvePatches"CVE-2016-2384"/*.patch && echo 'Applied fix for CVE-2016-2384' git apply $cvePatches"CVE-2016-2544"/*.patch && echo 'Applied fix for CVE-2016-2544' git apply $cvePatches"CVE-2016-2545"/*.patch && echo 'Applied fix for CVE-2016-2545' git apply $cvePatches"CVE-2016-2547"/*.patch && echo 'Applied fix for CVE-2016-2547' git apply $cvePatches"CVE-2016-2549"/*.patch && echo 'Applied fix for CVE-2016-2549' git apply $cvePatches"CVE-2016-3070"/*.patch && echo 'Applied fix for CVE-2016-3070' git apply $cvePatches"CVE-2016-3134"/*.patch && echo 'Applied fix for CVE-2016-3134' git apply $cvePatches"CVE-2016-3136"/*.patch && echo 'Applied fix for CVE-2016-3136' git apply $cvePatches"CVE-2016-3137"/*.patch && echo 'Applied fix for CVE-2016-3137' git apply $cvePatches"CVE-2016-3140"/*.patch && echo 'Applied fix for CVE-2016-3140' git apply $cvePatches"CVE-2016-3672"/*.patch && echo 'Applied fix for CVE-2016-3672' git apply $cvePatches"CVE-2016-3689"/*.patch && echo 'Applied fix for CVE-2016-3689' git apply $cvePatches"CVE-2016-5345"/*.patch && echo 'Applied fix for CVE-2016-5345' git apply $cvePatches"CVE-2016-5859"/*.patch && echo 'Applied fix for CVE-2016-5859' git apply $cvePatches"CVE-2016-5867"/*.patch && echo 'Applied fix for CVE-2016-5867' git apply $cvePatches"CVE-2016-5870"/*.patch && echo 'Applied fix for CVE-2016-5870' git apply $cvePatches"CVE-2016-8404"/*.patch && echo 'Applied fix for CVE-2016-8404' git apply $cvePatches"CVE-2016-9604"/*.patch && echo 'Applied fix for CVE-2016-9604' git apply $cvePatches"CVE-2017-0436"/*.patch && echo 'Applied fix for CVE-2017-0436' git apply $cvePatches"CVE-2017-0516"/*.patch && echo 'Applied fix for CVE-2017-0516' git apply $cvePatches"CVE-2017-0523"/*.patch && echo 'Applied fix for CVE-2017-0523' git apply $cvePatches"CVE-2017-0537"/*.patch && echo 'Applied fix for CVE-2017-0537' git apply $cvePatches"CVE-2017-1000365"/*.patch && echo 'Applied fix for CVE-2017-1000365' git apply $cvePatches"CVE-2017-12153"/*.patch && echo 'Applied fix for CVE-2017-12153' git apply $cvePatches"CVE-2017-15265"/*.patch && echo 'Applied fix for CVE-2017-15265' git apply $cvePatches"CVE-2017-2618"/*.patch && echo 'Applied fix for CVE-2017-2618' git apply $cvePatches"CVE-2017-2671"/*.patch && echo 'Applied fix for CVE-2017-2671' git apply $cvePatches"CVE-2017-5669"/*.patch && echo 'Applied fix for CVE-2017-5669' git apply $cvePatches"CVE-2017-6001"/*.patch && echo 'Applied fix for CVE-2017-6001' git apply $cvePatches"CVE-2017-6345"/*.patch && echo 'Applied fix for CVE-2017-6345' git apply $cvePatches"CVE-2017-6348"/*.patch && echo 'Applied fix for CVE-2017-6348' git apply $cvePatches"CVE-2017-6951"/*.patch && echo 'Applied fix for CVE-2017-6951' git apply $cvePatches"CVE-2017-7472"/*.patch && echo 'Applied fix for CVE-2017-7472' git apply $cvePatches"CVE-2017-7487"/*.patch && echo 'Applied fix for CVE-2017-7487' git apply $cvePatches"CVE-2017-9242"/*.patch && echo 'Applied fix for CVE-2017-9242' cd $base