git://git.exim.org
/
exim-website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9d0f50e
)
Find default templates/ folder
author
Heiko Schlittermann (HS12-RIPE)
<hs@schlittermann.de>
Tue, 4 Dec 2018 21:36:24 +0000
(22:36 +0100)
committer
Heiko Schlittermann (HS12-RIPE)
<hs@schlittermann.de>
Tue, 4 Dec 2018 21:36:24 +0000
(22:36 +0100)
script/gen
patch
|
blob
|
history
diff --git
a/script/gen
b/script/gen
index dfb174eeb52c488ace69f0188211b349732617b1..559619989388664e9a587890bd9a369d41a245a9 100755
(executable)
--- a/
script/gen
+++ b/
script/gen
@@
-15,6
+15,7
@@
use JavaScript::Minifier::XS;
use Pod::Usage;
use XML::LibXML;
use XML::LibXSLT;
use Pod::Usage;
use XML::LibXML;
use XML::LibXSLT;
+use FindBin qw'$Bin';
my $canonical_url = 'https://www.exim.org/';
my $canonical_url = 'https://www.exim.org/';
@@
-464,7
+465,7
@@
sub error_help {
## Parse arguments
sub parse_arguments {
## Parse arguments
sub parse_arguments {
- my %opt = ( spec => [], filter => [], help => 0, man => 0, web => 0, minify => 1, verbose => 0, localstatic => 0 );
+ my %opt = ( spec => [], filter => [], help => 0, man => 0, web => 0, minify => 1, verbose => 0, localstatic => 0
, tmpl => "$Bin/../templates"
);
GetOptions(
\%opt, 'help|h!', 'man!', 'web!', 'spec=s{1,}', 'filter=s{1,}',
'latest=s', 'tmpl=s', 'docroot=s', 'minify!', 'verbose!', 'localstatic!'
GetOptions(
\%opt, 'help|h!', 'man!', 'web!', 'spec=s{1,}', 'filter=s{1,}',
'latest=s', 'tmpl=s', 'docroot=s', 'minify!', 'verbose!', 'localstatic!'