projects
/
grml.org.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
022d510
)
Allow symlinks in webdir
author
Alexander Wirt
<alexander.wirt@credativ.de>
Wed, 16 May 2012 11:27:35 +0000
(13:27 +0200)
committer
Alexander Wirt
<alexander.wirt@credativ.de>
Wed, 16 May 2012 11:27:35 +0000
(13:27 +0200)
gen_website
patch
|
blob
|
history
diff --git
a/gen_website
b/gen_website
index
6204a12
..
ae21d86
100755
(executable)
--- 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