should bring better more robust bootstrap

master
Marcell Mars 3 years ago
parent 15b26fbdd2
commit 4a10532c4e

@ -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)

BIN
sphook

Binary file not shown.
Loading…
Cancel
Save