X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=gen_website;h=ae21d86d6cde0bf436d49135306982ac443ae8cf;hb=f8151b113913dcb8011e8fc212881f73bee903ac;hp=6204a12cffc6db120555344add87749ccf05e46c;hpb=cb7f96bef3507b67a0418a8cb7f93af440a1ec4e;p=grml.org.git diff --git a/gen_website b/gen_website index 6204a12..ae21d86 100755 --- a/gen_website +++ b/gen_website @@ -66,8 +66,11 @@ my $git = File::Find::Rule->directory #matches all files my $file_rule = File::Find::Rule->file(); -#combine both -my @files = File::Find::Rule->or( $git, $file_rule ) +#match symlinks +my $symlink_rule = File::Find::Rule->symlink(); + +#combine all rules +my @files = File::Find::Rule->or( $git, $file_rule, $symlink_rule ) ->in('.'); #create a tempdir