Created
June 10, 2015 11:44
-
-
Save jprovaznik/efbed9f298672f9c1ed9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find_all_files_in_tpldir.each do |fname| | |
content = fname.readlines | |
path = fname.basedir | |
content.gsub(/get_file: (.*)/, "get_file: basedir/$1") | |
files[basedir/$1] = content | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment