Author: mladen.turk(a)jboss.com
Date: 2008-02-05 04:12:24 -0500 (Tue, 05 Feb 2008)
New Revision: 1359
Modified:
trunk/build/install/installconf.awk
Log:
Tab police
Modified: trunk/build/install/installconf.awk
===================================================================
--- trunk/build/install/installconf.awk 2008-02-05 09:05:58 UTC (rev 1358)
+++ trunk/build/install/installconf.awk 2008-02-05 09:12:24 UTC (rev 1359)
@@ -62,33 +62,33 @@
srcfl = confdefault filelist[conffile];
dstfl = confdefault conffile;
while ( ( getline < srcfl ) > 0 ) {
- gsub( /@@ServerRoot@@/, serverroot );
- gsub( /@exp_cgidir@/, serverroot "/cgi-bin" );
- gsub( /@exp_sysconfdir@/, serverroot "/conf" );
- gsub( /@exp_errordir@/, serverroot "/error" );
- gsub( /@exp_htdocsdir@/, serverroot "/htdocs" );
- gsub( /@exp_iconsdir@/, serverroot "/icons" );
- gsub( /@exp_logfiledir@/, serverroot "/logs" );
- gsub( /@exp_runtimedir@/, serverroot "/logs" );
- gsub( /@exp_manualdir@/, serverroot "/manual" );
- gsub( /@rel_runtimedir@/, "logs" );
- gsub( /@rel_logfiledir@/, "logs" );
- if (WINDOWS) {
- gsub( /SSLMutex file:@exp_runtimedir@\/ssl_mutex/, "SSLMutex default"
);
- gsub( /\/home\/\*\/public_html/, "\"C:/Documents and Settings/*/My
Documents/My Website\"" );
- gsub( /UserDir public_html/, "UserDir \"My Documents/My
Website\"" );
- }
+ gsub( /@@ServerRoot@@/, serverroot );
+ gsub( /@exp_cgidir@/, serverroot "/cgi-bin" );
+ gsub( /@exp_sysconfdir@/, serverroot "/conf" );
+ gsub( /@exp_errordir@/, serverroot "/error" );
+ gsub( /@exp_htdocsdir@/, serverroot "/htdocs" );
+ gsub( /@exp_iconsdir@/, serverroot "/icons" );
+ gsub( /@exp_logfiledir@/, serverroot "/logs" );
+ gsub( /@exp_runtimedir@/, serverroot "/logs" );
+ gsub( /@exp_manualdir@/, serverroot "/manual" );
+ gsub( /@rel_runtimedir@/, "logs" );
+ gsub( /@rel_logfiledir@/, "logs" );
+ if (WINDOWS) {
+ gsub( /SSLMutex file:@exp_runtimedir@\/ssl_mutex/, "SSLMutex
default" );
+ gsub( /\/home\/\*\/public_html/, "\"C:/Documents and Settings/*/My
Documents/My Website\"" );
+ gsub( /UserDir public_html/, "UserDir \"My Documents/My
Website\"" );
+ }
gsub( /www.example.com/, servername );
gsub( /@@ServerAdmin@@/, serveradmin );
gsub( /you(a)example.com/, serveradmin );
- gsub( /@@ServerName@@/, servername );
+ gsub( /@@ServerName@@/, servername );
gsub( /www.example.com/, servername );
gsub( /@@ServerAdmin@@/, serveradmin );
gsub( /you(a)example.com/, serveradmin );
gsub( /@@DomainName@@/, domainname );
gsub( /example.com/, domainname );
gsub( /@@Port@@/, serverport );
- gsub( /443/, serversslport );
+ gsub( /443/, serversslport );
print $0 > dstfl;
}
close(srcfl);
@@ -118,12 +118,12 @@
srcfl = confdefault conffile;
dstfl = confroot filelist[conffile] conffile;
if ( ( getline < dstfl ) < 0 ) {
- while ( ( getline < srcfl ) > 0 ) {
- print $0 > dstfl;
- }
+ while ( ( getline < srcfl ) > 0 ) {
+ print $0 > dstfl;
+ }
print "Duplicated " srcfl "\n to " dstfl > tstfl;
} else {
- print "Existing file " dstfl " preserved" > tstfl;
+ print "Existing file " dstfl " preserved" > tstfl;
}
close(srcfl);
close(dstfl);