1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/www/apache13-modssl/files/patch-apxs.pl
Dirk Meyer 86a1133ffc - don't create a backup of httpd.conf
- de-ugly-ing filename
Obtained from:	ports/www/apache13-modperl/files/patch-src:support:apxs.pl
2005-02-09 06:16:21 +00:00

16 lines
747 B
Perl

--- src/support/apxs.pl.orig Mon Nov 29 21:05:12 2004
+++ src/support/apxs.pl Mon Nov 29 21:05:56 2004
@@ -604,12 +604,10 @@
print FP $content;
close(FP);
if ($^O ne "MSWin32") {
- push(@cmds, "cp $cfgbase.conf $cfgbase.conf.bak");
push(@cmds, "cp $cfgbase.conf.new $cfgbase.conf");
push(@cmds, "rm $cfgbase.conf.new");
} else {
$cfgbase =~ s|/|\\|g;
- push(@cmds, "copy \"$cfgbase.conf\" \"$cfgbase.conf.bak\"");
push(@cmds, "copy \"$cfgbase.conf.new\" \"$cfgbase.conf\"");
push(@cmds, "del \"$cfgbase.conf.new\"");
}