Skip to content

Commit

Permalink
Fixed last modification to Rakefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Jul 21, 2009
1 parent 830d4e8 commit e05de08
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions samplesite/Rakefile
Expand Up @@ -50,11 +50,10 @@ directory SITEDIR
FILES.each_pair do |dest,src|
file dest => src do
d = File.dirname dest
if File.directory?
if ! File.exists? d
if File.directory?(d) && !File.exists?(d)
mkdir_p(File.dirname(dest))
end
else
end
if ! File.directory? dest
cp src, dest
end
end
Expand Down

0 comments on commit e05de08

Please sign in to comment.