Commit 01bfd4c5 authored by fuyanbin's avatar fuyanbin
Browse files

更好的匹配

parent 7069e24c
......@@ -71,7 +71,7 @@ build_image() {
rm -f "$build_dir/system/hugep-all.zip"
rm -f "$build_dir/system/bin/hugep-all.zip"
android_sdk="$(grep "version\.sdk" "$build_dir"/system/build.prop | awk -F'=' '{print $2}')"
android_sdk="$(grep "build\.version\.sdk" "$build_dir"/system/build.prop | awk -F'=' '{print $2}')"
if [[ "$android_sdk" -ge 28 ]]
then
find ./services/ -type f -name "*.rc" -exec install -t "$build_dir"/system/etc/init/ {} \;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment