Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: ics
Fetching contributors…

Cannot retrieve contributors at this time

executable file 38 lines (30 sloc) 0.775 kb
#!/bin/bash
#
# $1: dir for original miui app
# $2: dir for target miui app
#
XMLMERGYTOOL=$PORT_ROOT/tools/ResValuesModify/jar/ResValuesModify
GIT_APPLY=$PORT_ROOT/tools/git.apply
curdir=`pwd`
if [ $1 = "Mms" ];then
$XMLMERGYTOOL $1/res/values $2/res/values
fi
if [ $1 = "MiuiHome" ];then
$XMLMERGYTOOL $1/res/values $2/res/values
fi
if [ $1 = "Settings" ];then
$XMLMERGYTOOL $1/res/values $2/res/values
fi
if [ $1 = "Phone" ];then
for file in `find $1/smali -name *.part`
do
filepath=`dirname $file`
filename=`basename $file .part`
dstfile="out/$filepath/$filename"
cat $file >> $dstfile
done
$XMLMERGYTOOL $1/res/values $2/res/values
fi
if [ $1 = "ThemeManager" ];then
$XMLMERGYTOOL $1/res/values $2/res/values
fi
Jump to Line
Something went wrong with that request. Please try again.