Skip to content

Commit

Permalink
Remove warning in configure
Browse files Browse the repository at this point in the history
  • Loading branch information
TMRh20 committed Aug 10, 2020
1 parent a779828 commit 59123c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function die {

function detect_machine {
local cpu=$(execute_check "uname -m 2>/dev/null")
local machine=$(execute_check "cat /sys/firmware/devicetree/base/model 2>/dev/null")
local machine=$(execute_check "cat -v /sys/firmware/devicetree/base/model 2>/dev/null")
local hardware=$(execute_check "grep sunxi_platform /sys/class/sunxi_info/sys_info 2>/dev/null | sed 's/^.*: \(.*\)$/\1/'")
if [ -z "$hardware" ]; then
local hardware=$(execute_check "grep Hardware /proc/cpuinfo 2>/dev/null | sed 's/^.*: \(.*\)$/\1/'")
Expand Down

0 comments on commit 59123c6

Please sign in to comment.