summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/apache.export5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/apache.export b/bin/apache.export
index da2d73c1c..82eb6d6b0 100755
--- a/bin/apache.export
+++ b/bin/apache.export
@@ -30,8 +30,9 @@ my $rsync = File::Rsync->new({
foreach my $export ( @exports ) {
- my $machine = $export->machine;
- my $file = "$spooldir/$machine.conf";
+ my $machine = $export->machine;
+ my $exportnum = $export->exportnum;
+ my $file = "$spooldir/$machine.exportnum$exportnum.conf";
warn "exporting apache configuration for $machine to $file\n"
if $opt{d};