]> git.pld-linux.org Git - packages/apache.git/blame - apache-apxs_force_rm_cp.patch
- taken from apache1
[packages/apache.git] / apache-apxs_force_rm_cp.patch
CommitLineData
12f23cb9 1diff -Nru apache_1.3.12/src/support/apxs.pl apache_1.3.12.new/src/support/apxs.pl
2--- apache_1.3.12/src/support/apxs.pl Mon Jun 12 18:37:55 2000
3+++ apache_1.3.12.new/src/support/apxs.pl Mon Jun 12 18:39:53 2000
53d495bd 4@@ -459,7 +459,7 @@
5 if ($^O ne "MSWin32") {
6 $t =~ s|^.+/([^/]+)$|$1|;
7 if ($opt_i) {
8- push(@cmds, "cp $f $CFG_LIBEXECDIR/$t");
9+ push(@cmds, "cp -f $f $CFG_LIBEXECDIR/$t");
10 push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t");
11 }
12f23cb9 12 }
53d495bd 13@@ -555,9 +555,9 @@
12f23cb9 14 print FP $content;
15 close(FP);
53d495bd 16 if ($^O ne "MSWin32") {
17- push(@cmds, "cp $cfgbase.conf $cfgbase.conf.bak");
18- push(@cmds, "cp $cfgbase.conf.new $cfgbase.conf");
19- push(@cmds, "rm $cfgbase.conf.new");
20+ push(@cmds, "cp -f $cfgbase.conf $cfgbase.conf.bak");
21+ push(@cmds, "cp -f $cfgbase.conf.new $cfgbase.conf");
22+ push(@cmds, "rm -f $cfgbase.conf.new");
23 } else {
24 $cfgbase =~ s|/|\\|g;
25 push(@cmds, "copy \"$cfgbase.conf\" \"$cfgbase.conf.bak\"");
This page took 0.050176 seconds and 4 git commands to generate.