extract_utils: Fix bad substitution for zsh
Change-Id: I5f4fabc62b1ac3da159b36c3ae6080e145948530
This commit is contained in:
parent
c83b8dae35
commit
4a2b65fb60
1 changed files with 3 additions and 3 deletions
|
@ -1190,7 +1190,7 @@ function oat2dex() {
|
|||
local SRC="$3"
|
||||
local TARGET=
|
||||
local OAT=
|
||||
local HOST="$(uname)"
|
||||
local HOST="$(uname | tr '[:upper:]' '[:lower:]')"
|
||||
|
||||
if [ -z "$BAKSMALIJAR" ] || [ -z "$SMALIJAR" ]; then
|
||||
export BAKSMALIJAR="$LINEAGE_ROOT"/prebuilts/tools-lineage/common/smali/baksmali.jar
|
||||
|
@ -1198,11 +1198,11 @@ function oat2dex() {
|
|||
fi
|
||||
|
||||
if [ -z "$VDEXEXTRACTOR" ]; then
|
||||
export VDEXEXTRACTOR="$LINEAGE_ROOT"/prebuilts/tools-lineage/"${HOST,,}"-x86/bin/vdexExtractor
|
||||
export VDEXEXTRACTOR="$LINEAGE_ROOT"/prebuilts/tools-lineage/{HOST}-x86/bin/vdexExtractor
|
||||
fi
|
||||
|
||||
if [ -z "$CDEXCONVERTER" ]; then
|
||||
export CDEXCONVERTER="$LINEAGE_ROOT"/prebuilts/tools-lineage/"${HOST,,}"-x86/bin/compact_dex_converter
|
||||
export CDEXCONVERTER="$LINEAGE_ROOT"/prebuilts/tools-lineage/{HOST}-x86/bin/compact_dex_converter
|
||||
fi
|
||||
|
||||
# Extract existing boot.oats to the temp folder
|
||||
|
|
Loading…
Reference in a new issue