Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion bin/rokid
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ init_adb() {
cd $(dirname `readlink -n $0`)
cd ../
local root=`pwd`
ADB=$root/tools/adb
local os = `uname -s`
ADB=$root/tools/adb-linux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这两行是不是多余的?

local os=`uname -s`
echo "os: $os"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这行日志先去掉吧

if [ $os == "Linux" ]; then
ADB=$root/tools/adb-linux
fi
echo "use adb: $ADB"
cd $oldir
}
Expand Down
Binary file added tools/adb-linux
Binary file not shown.