From 8062ac6eb3c2a8fad98cc57d27221770243804ea Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 5 Mar 2007 11:12:59 +0000 Subject: [PATCH] Made the paramchk script use the value of DOCBOOK_SVN to find the params dir (instead of relying on relative paths). This hard-codes paramchk to work only with docbook-xsl -- but anyway, no other builds currently use paramchk. --- buildtools/paramchk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/buildtools/paramchk b/buildtools/paramchk index ae31965c2..caa8a8bb9 100755 --- a/buildtools/paramchk +++ b/buildtools/paramchk @@ -12,9 +12,12 @@ die $usage if ! getopts('m:'); my $file = shift @ARGV || die $usage; my $dir = "."; - $dir = $1 if $file =~ /^(.*)\/[^\/]+$/; +if ($ENV{DOCBOOK_SVN}) { + $dir = "$ENV{DOCBOOK_SVN}/xsl/params"; +} + my $entfile = $file; $entfile =~ s/\.xweb$/.ent/; -- 2.40.0