projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/collectd-5.8'
[collectd.git]
/
build.sh
diff --git
a/build.sh
b/build.sh
index
c92bc4a
..
bd4c1a3
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-2,7
+2,7
@@
GLOBAL_ERROR_INDICATOR=0
GLOBAL_ERROR_INDICATOR=0
-check_for_application
()
+check_for_application()
{
for PROG in "$@"
do
{
for PROG in "$@"
do
@@
-22,13
+22,11
@@
check_for_application lex bison autoheader aclocal automake autoconf pkg-config
libtoolize=""
libtoolize --version >/dev/null 2>/dev/null
libtoolize=""
libtoolize --version >/dev/null 2>/dev/null
-if test $? -eq 0
-then
+if test $? -eq 0; then
libtoolize=libtoolize
else
glibtoolize --version >/dev/null 2>/dev/null
libtoolize=libtoolize
else
glibtoolize --version >/dev/null 2>/dev/null
- if test $? -eq 0
- then
+ if test $? -eq 0; then
libtoolize=glibtoolize
else
cat >&2 <<EOF
libtoolize=glibtoolize
else
cat >&2 <<EOF
@@
-40,8
+38,7
@@
EOF
fi
fi
fi
fi
-if test "$GLOBAL_ERROR_INDICATOR" != "0"
-then
+if test "$GLOBAL_ERROR_INDICATOR" != "0"; then
exit 1
fi
exit 1
fi