httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r822436 - /httpd/mod_ftp/trunk/build/addloadexample.awk
Date Tue, 06 Oct 2009 19:14:27 GMT
Author: wrowe
Date: Tue Oct  6 19:14:27 2009
New Revision: 822436

URL: http://svn.apache.org/viewvc?rev=822436&view=rev
Log:
A noop for mod_ftp, prepare this script to be recycleable with no example conf

Modified:
    httpd/mod_ftp/trunk/build/addloadexample.awk

Modified: httpd/mod_ftp/trunk/build/addloadexample.awk
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/build/addloadexample.awk?rev=822436&r1=822435&r2=822436&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/build/addloadexample.awk (original)
+++ httpd/mod_ftp/trunk/build/addloadexample.awk Tue Oct  6 19:14:27 2009
@@ -37,8 +37,10 @@
       print "LoadModule " MODULE "_module " LIBPATH "/mod_" MODULE DSO;
       print "";
     }
-    print "# Example mod_" MODULE " configuration";
-    print "#Include " EXAMPLECONF "\n";
+    if ( length(EXAMPLECONF) ) {
+      print "# Example mod_" MODULE " configuration";
+      print "#Include " EXAMPLECONF "\n";
+    }
   }
 }
 



Mime
View raw message