summaryrefslogtreecommitdiff
path: root/www/mod_frontpage
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-02-07 09:15:06 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-02-07 09:15:06 +0000
commitad007dc8b11860ea8809e550f27ee0ee1e7821ba (patch)
treeb3d12db64f66e6745593b37dfb6beff328f798fb /www/mod_frontpage
parentUpdate to 1.2.17. Fix compile on alpha and sparc. (diff)
Print the unresolved document root too, to find out
why this path is empty on bento.
Diffstat (limited to 'www/mod_frontpage')
-rw-r--r--www/mod_frontpage/files/patch-Makefile.PL3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/mod_frontpage/files/patch-Makefile.PL b/www/mod_frontpage/files/patch-Makefile.PL
index 04b9546a0c4a..5742d33c0758 100644
--- a/www/mod_frontpage/files/patch-Makefile.PL
+++ b/www/mod_frontpage/files/patch-Makefile.PL
@@ -38,13 +38,14 @@
print "If you don't know, enter the word 'findit'. I will try to look\n";
print "for you... but it will take a few minutes.\n";
print "Your choice: ";
-@@ -109,20 +127,27 @@
+@@ -109,20 +127,28 @@
$errorlog="$serverroot/$errorlog";
print "$errorlog\n";
}
-print "DocumentRoot: $documentroot\n";
+$documentroot =~ s/"$//;
+$documentroot =~ s/^"//;
++print "DocumentRoot_unresolved: ($documentroot)\n";
+$documentroot = realpath($documentroot);
+print "DocumentRoot: ($documentroot)\n";