X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=b.rb;h=6bd631d9c9d81489e3263da61b0a6349c61b6699;hp=511ac8d9717c4d535a0a929ca5fffab82a46d88e;hb=4d95c360b30ea22e81abfe967476ccf134cee611;hpb=d0a5b73d2a275bfff5957961f2360df8966bee22
diff --git a/b.rb b/b.rb
index 511ac8d..6bd631d 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 = <iankelling.org#{o[:header]}
This site has a git repo. Unless stated otherwise,
+ ian@iankelling.org let me know what you think