[syslog-ng] [PATCH] Fix autogen.sh to autogen submodules by default.

Gergely Nagy algernon at balabit.hu
Fri Mar 11 17:06:08 CET 2011


Call autogen_submodules even if $skip_modules is unset (which it would
be on most systems that just cloned the repository).

Signed-off-by: Gergely Nagy <algernon at balabit.hu>
---
 autogen.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 3569af3..569f134 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -31,7 +31,7 @@ autogen_submodules()
 	done
 }
 
-if [ "$skip_submodules" = 0 ]; then
+if [ -z "$skip_submodules" ] || [ "$skip_modules" = 0 ]; then
 	autogen_submodules
 fi
 
-- 
1.7.2.3




More information about the syslog-ng mailing list