Sorry this wasn't supposed to be a new post, it was destined for a reply. Please ignore
On May 8, 4:16 pm, Kasuko <kas...@gmail.com> wrote: > Also you might want to add the following to certain files before > running Kris's script. > > in put "project frameworks/base/" as first line > in "0001-1.-added-mouse-cursor.patch" put "project frameworks/base/" > as first line > in "0001-1.-enabled-power-mgt.patch" put "project vendor/asus/ > eee_701/" as first line > in "atl2-2.2.3.patch" put "project kernel/" as first line > > that will allow his script to pick up the locations to patch for > the .patch files that do not have this directive. > > Also as Chih-Wei mentioned, try > > for patch in `pwd`/../*patch ; do > project=`awk '/^project /{print $2}' $patch` > (cd $project && git apply $patch) > done > > Kasuko --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---