aboutsummaryrefslogtreecommitdiff
path: root/acmeman
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-08-26 10:36:31 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-08-26 10:58:10 +0300
commit5d0c176c8f14151e54959bd898df69c82b5289c0 (patch)
tree67b916f75d8359892bab6a36efa8415e197ed9f3 /acmeman
parentf20aed261b6fcf97ab070dd743aba8ee6cd0e39c (diff)
downloadacmeman-5d0c176c8f14151e54959bd898df69c82b5289c0.tar.gz
acmeman-5d0c176c8f14151e54959bd898df69c82b5289c0.tar.bz2
Rewrite the Apache source support using Apache::Config::Preproc module
This enables acmeman to handle complex Apache configurations with lots of includes and eventual macros. * Makefile.PL: Require Apache::Defaults and Apache::Config::Preproc` * acmeman: Don't use the -w perl option. All acmeman sources use warnings, so they don't need it. Underlying modules, however, may emit warnings. In particular, Apache::Admin::Config is know to emit lots of warnings about undefined $_[0] being used in concatenation (in Apache/Admin/Config.pm:443). These are bening and completely out of my control. Eliminating the -w option suppresses them. * lib/App/Acmeman/Source/Apache.pm: Rewrite using Apache::Config::Preproc * lib/App/Acmeman/Config.pm (mangle): Raise error flag if the configure method fails.
Diffstat (limited to 'acmeman')
-rwxr-xr-xacmeman2
1 files changed, 1 insertions, 1 deletions
diff --git a/acmeman b/acmeman
index 7956dd2..8c446b2 100755
--- a/acmeman
+++ b/acmeman
@@ -1,6 +1,6 @@
#!/bin/sh
#! -*-perl-*-
-eval 'exec perl -x -wS $0 ${1+"$@"}'
+eval 'exec perl -x -S $0 ${1+"$@"}'
if 0;
use strict;

Return to:

Send suggestions and report system problems to the System administrator.