Gordons Projects

--> Projects Top-Level GIT

changed build to not do the I2C checks.
authorGordon Henderson <projects@drogon.net>
Sat, 19 Jan 2013 15:10:48 +0000 (15:10 +0000)
committerGordon Henderson <projects@drogon.net>
Sat, 19 Jan 2013 15:10:48 +0000 (15:10 +0000)
build

diff --git a/build b/build
index 2afafa6..666ab87 100755 (executable)
--- a/build
+++ b/build
@@ -56,13 +56,13 @@ else
 
 # Check for I2C being installed...
 
 
 # Check for I2C being installed...
 
-  if [ ! -f /usr/include/linux/i2c-dev.h ]; then
-    i2c-install
-  fi
-  grep -q i2c_smbus_read_byte /usr/include/linux/i2c-dev.h
-  if [ $? = 1 ]; then
-    i2c-install
-  fi
+# if [ ! -f /usr/include/linux/i2c-dev.h ]; then
+#   i2c-install
+# fi
+# grep -q i2c_smbus_read_byte /usr/include/linux/i2c-dev.h
+# if [ $? = 1 ]; then
+#   i2c-install
+# fi
 
   echo "WiringPi library"
   cd wiringPi
 
   echo "WiringPi library"
   cd wiringPi