X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=b.rb;h=6cc14ec2131a942b335793b67487dcda83febfff;hp=511ac8d9717c4d535a0a929ca5fffab82a46d88e;hb=f98cd29f7b53a7c08f21792773a5b3b49d41eb9c;hpb=d0a5b73d2a275bfff5957961f2360df8966bee22
diff --git a/b.rb b/b.rb
index 511ac8d..6cc14ec 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