Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zackptg5 committed Jan 15, 2019
1 parent d21a344 commit 652c422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/unityfiles/util_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ cleanup() {
}

device_check() {
local PROP$(echo "$1" | tr '[:upper:]' '[:lower:]')
local PROP=$(echo "$1" | tr '[:upper:]' '[:lower:]')
for i in "ro.product.device" "ro.build.product"; do
[ "$(sed -n "s/^$i=//p" /system/build.prop 2>/dev/null | head -n 1 | tr '[:upper:]' '[:lower:]')" == "$PROP" -o "$(sed -n "s/^$i=//p" $VEN/build.prop 2>/dev/null | head -n 1 | tr '[:upper:]' '[:lower:]')" == "$PROP" ] && return 0
done
Expand Down

0 comments on commit 652c422

Please sign in to comment.