summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extract_utils.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/extract_utils.sh b/extract_utils.sh
index 6d0fb12..4a8ead3 100644
--- a/extract_utils.sh
+++ b/extract_utils.sh
@@ -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