From a44f136e59648b217492dcdee34683c015565f0c Mon Sep 17 00:00:00 2001 From: Alexander Wirt Date: Wed, 16 May 2012 13:27:35 +0200 Subject: [PATCH] Allow symlinks in webdir --- gen_website | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.1.4