chiark
/
gitweb
/
~ianmdlvl
/
wiringPi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sorted a variable initialisation issue that was giving incorrect results
[wiringPi.git]
/
build
diff --git
a/build
b/build
index 776c756fa0703eae0ab3420c11dd09e651348e5e..f578d4a54b879fe910de6c9acd4e4f18bc8e09f5 100755
(executable)
--- a/
build
+++ b/
build
@@
-1,7
+1,6
@@
-#!/bin/
ba
sh
+#!/bin/sh
-check-make-ok()
-{
+check_make_ok() {
if [ $? != 0 ]; then
echo ""
echo "Make Failed..."
if [ $? != 0 ]; then
echo ""
echo "Make Failed..."
@@
-51,26
+50,26
@@
fi
cd wiringPi
sudo make uninstall
make
cd wiringPi
sudo make uninstall
make
- check
-make-
ok
+ check
_make_
ok
sudo make install
sudo make install
- check
-make-
ok
+ check
_make_
ok
echo
echo "WiringPi Devices Library"
cd ../devLib
sudo make uninstall
make
echo
echo "WiringPi Devices Library"
cd ../devLib
sudo make uninstall
make
- check
-make-
ok
+ check
_make_
ok
sudo make install
sudo make install
- check
-make-
ok
+ check
_make_
ok
echo
echo "GPIO Utility"
cd ../gpio
make
echo
echo "GPIO Utility"
cd ../gpio
make
- check
-make-
ok
+ check
_make_
ok
sudo make install
sudo make install
- check
-make-
ok
+ check
_make_
ok
# echo
# echo "Examples"
# echo
# echo "Examples"