summaryrefslogtreecommitdiff
path: root/local.go
diff options
context:
space:
mode:
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)
}