add uninstall script for patches
This commit is contained in:
parent
a5bf06a711
commit
daeec03ecf
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo $1
|
||||
rootdirectory="$PWD"
|
||||
# ---------------------------------
|
||||
|
||||
dirs="frameworks/av frameworks/base frameworks/opt/telephony hardware/libhardware hardware/libhardware_legacy packages/apps/Settings packages/services/telephony system/core system/netd"
|
||||
|
||||
VENDOR=meizu
|
||||
DEVICE=m2note
|
||||
|
||||
for dir in $dirs ; do
|
||||
cd $rootdirectory
|
||||
cd $dir
|
||||
echo -e "Cleaning $dir patches...\n"
|
||||
git reset --hard && git clean -df
|
||||
done
|
||||
|
||||
# -----------------------------------
|
||||
echo -e "Done !\n"
|
||||
cd $rootdirectory
|
||||
|
Loading…
Reference in New Issue