From c8030debe80cfa22c50e2715070db15a68b3f93d Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Fri, 21 Aug 2020 23:26:50 +0800
Subject: [PATCH] Update i2ctool build shell script
---
3rdparty/i2ctool/build.sh | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/3rdparty/i2ctool/build.sh b/3rdparty/i2ctool/build.sh
index f8044ed..4cc2633 100755
--- a/3rdparty/i2ctool/build.sh
+++ b/3rdparty/i2ctool/build.sh
@@ -59,9 +59,8 @@
{
SRC_NAME=i2c-tools-4.1
PACK_SUFIX=tar.xz
- IMG_NAME=i2cdetect
- if [ -f ${PREFIX_PATH}/${IMG_NAME} ] ; then
+ if [ -f ${PREFIX_PATH}/sbin/i2cdetect ] ; then
msg_banner "$SRC_NAME already compile and installed"
return 0;
fi
--
Gitblit v1.9.1