X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=b.rb;h=d4e97b6dba16b1c988ed0760561022e9aad3e14a;hp=511ac8d9717c4d535a0a929ca5fffab82a46d88e;hb=812e8fe2668d0ff67827fa1fd8cce2ce113e88e0;hpb=d0a5b73d2a275bfff5957961f2360df8966bee22 diff --git a/b.rb b/b.rb index 511ac8d..d4e97b6 100644 --- a/b.rb +++ b/b.rb @@ -49,6 +49,7 @@ module B # blog module end def fwrite(output_path, string) + output_path = File.join('./', output_path) FileUtils.mkdir_p(File.dirname(output_path)) File.write(output_path, string) end @@ -95,8 +96,8 @@ EOF
+This site has a git repo. Unless stated otherwise,
+ ian@iankelling.org let me know what you think