Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 19:26:09 +01:00
This commit is contained in:
Unknown 2014-03-11 22:09:33 -04:00
parent c2e7e93e0c
commit 0b5f6b176f

View file

@ -153,7 +153,7 @@ func initRepository(f string, user *User, repo *Repository, initReadme bool, rep
fileName["license"] = "LICENSE"
}
workdir := os.TempDir() + fmt.Sprintf("%d", time.Now().Nanosecond())
workdir := filepath.Join(os.TempDir(), fmt.Sprintf("%d", time.Now().Nanosecond()))
os.MkdirAll(workdir, os.ModePerm)
sig := user.NewGitSig()