pa: extract_utils: Fix bad substitution for ZSH.

Change-Id: I5f4fabc62b1ac3da159b36c3ae6080e145948530
This commit is contained in:
XiNGRZ 2019-12-24 10:37:13 +08:00 committed by Alexander Koskovich
parent 76da86f492
commit ab58600e4a
No known key found for this signature in database
GPG Key ID: F1107C9A417AC130
1 changed files with 3 additions and 3 deletions

View File

@ -1205,7 +1205,7 @@ function oat2dex() {
local OEM_TARGET="$2"
local SRC="$3"
local OAT=
local HOST="$(uname)"
local HOST="$(uname | tr '[:upper:]' '[:lower:]')"
if [ -z "$BAKSMALIJAR" ] || [ -z "$SMALIJAR" ]; then
export BAKSMALIJAR="$ROOT"/prebuilts/tools-pa/common/smali/baksmali.jar
@ -1213,11 +1213,11 @@ function oat2dex() {
fi
if [ -z "$VDEXEXTRACTOR" ]; then
export VDEXEXTRACTOR="$ROOT"/prebuilts/tools-pa/"${HOST,,}"-x86/bin/vdexExtractor
export VDEXEXTRACTOR="$ROOT"/prebuilts/tools-pa/${HOST}-x86/bin/vdexExtractor
fi
if [ -z "$CDEXCONVERTER" ]; then
export CDEXCONVERTER="$ROOT"/prebuilts/tools-pa/"${HOST,,}"-x86/bin/compact_dex_converter
export CDEXCONVERTER="$ROOT"/prebuilts/tools-pa/${HOST}-x86/bin/compact_dex_converter
fi
# Extract existing boot.oats to the temp folder