summaryrefslogtreecommitdiff
path: root/local.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-11-09 18:29:56 +0000
committerNick White <git@njw.name>2020-11-09 18:54:50 +0000
commita1de8862a091f9584220db40671a0d43346c4519 (patch)
tree9f146b4cc90e117250dafcf7bfd64f7edc3907a1 /local.go
parentfc6becf5ed98e9c0815532fd76639c15eb481ed1 (diff)
[rescribe] Local only combo tool basically now working. Testing is still minimal.
Diffstat (limited to 'local.go')
-rw-r--r--local.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/local.go b/local.go
index ebc3611..0ccc761 100644
--- a/local.go
+++ b/local.go
@@ -36,7 +36,7 @@ func (a *LocalConn) MinimalInit() error {
if a.TempDir == "" {
a.TempDir = filepath.Join(os.TempDir(), "bookpipeline")
}
- err = os.Mkdir(a.TempDir, 0700)
+ err = os.MkdirAll(a.TempDir, 0700)
if err != nil && !os.IsExist(err) {
return fmt.Errorf("Error creating temporary directory: %v", err)
}