X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=b.rb;h=4611b5d7fe9cc237c98341c2b8765acae5fdeddb;hp=511ac8d9717c4d535a0a929ca5fffab82a46d88e;hb=512e27c6bf1c40085f9fcc4c9769ef5b8ba6f4f9;hpb=d0a5b73d2a275bfff5957961f2360df8966bee22
diff --git a/b.rb b/b.rb
index 511ac8d..4611b5d 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
@@ -57,7 +58,7 @@ module B # blog module
head = <
This site has a git repo. Unless stated otherwise,
+ ian@iankelling.org let me know what you think