X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=gen_website;fp=gen_website;h=ae21d86d6cde0bf436d49135306982ac443ae8cf;hb=a44f136e59648b217492dcdee34683c015565f0c;hp=6204a12cffc6db120555344add87749ccf05e46c;hpb=022d510fcd0c611f9b23e308f6a558987f69bac6;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