In `jekyll new`, make copied site template user-writable (#6072)

Merge pull request 6072
This commit is contained in:
Christopher League 2017-06-14 15:02:59 -04:00 committed by jekyllbot
parent 35684dd1b8
commit 73368f8f0d
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ RUBY
def create_sample_files(path)
FileUtils.cp_r site_template + "/.", path
FileUtils.chmod_R "u+w", path
FileUtils.rm File.expand_path(scaffold_path, path)
end