diff --git a/main.go b/main.go index 966c934..b20a9ef 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,7 @@ import ( ) var ( - version = "20.12.23" + version = "21.02.01" ) func check(e error) { @@ -162,6 +162,9 @@ func main() { logLines = logLines + fmt.Sprintf("to be moved to: %s\n", filepath.Join(outDir, outSandpointsDir)) tmpHugoGiteaPath := filepath.Join(os.TempDir(), fmt.Sprintf("sandpoints_hugo_%06d", rand.Intn(100001))) + err = os.MkdirAll(filepath.Join(outDir, outSandpointsDir), 0755) + check(err) + err = os.RemoveAll(tmpHugoGiteaPath) check(err) diff --git a/sphook b/sphook index 7a16f49..c73f792 100755 Binary files a/sphook and b/sphook differ