projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9db9f6
)
Check for a working make before running it.
author
Alan T. DeKok
<aland@freeradius.org>
Sun, 27 Jun 2010 16:14:45 +0000
(18:14 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 28 Jun 2010 13:56:58 +0000
(15:56 +0200)
This lets us tell the difference between a non-existent make, and one
which exists, but failed the "make all" stage
raddb/certs/bootstrap
patch
|
blob
|
history
diff --git
a/raddb/certs/bootstrap
b/raddb/certs/bootstrap
index
0e536e4
..
cd7ce0a
100755
(executable)
--- a/
raddb/certs/bootstrap
+++ b/
raddb/certs/bootstrap
@@
-12,14
+12,16
@@
#
umask 027
cd `dirname $0`
-make all
+
+make -h 2>&1 > /dev/null
#
-# If that worked, exit. Otherwise, run the commands manually.
+# If we have a working "make", then use it. Otherwise, run the commands
+# manually.
#
if [ "$?" = "0" ]
then
- ex
it 0
+ ex
ec make all
fi
#