Skip to content

Commit

Permalink
Allow symlinks in webdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Wirt committed May 16, 2012
1 parent 022d510 commit a44f136
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions gen_website
Expand Up @@ -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
Expand Down

0 comments on commit a44f136

Please sign in to comment.