]> Cypherpunks.ru repositories - gocheese.git/blobdiff - upload.go
Refactor -help, remove -root
[gocheese.git] / upload.go
index 669e414e81e07be2cd37fe12a1c427bcd20fd3c7..9ce55407e04021ae8644c99000aecd599d79407f 100644 (file)
--- a/upload.go
+++ b/upload.go
@@ -67,7 +67,7 @@ func serveUpload(w http.ResponseWriter, r *http.Request) {
                return
        }
        pkgName := strings.ToLower(NormalizationRe.ReplaceAllString(pkgNames[0], "-"))
-       dirPath := filepath.Join(*Root, pkgName)
+       dirPath := filepath.Join(Root, pkgName)
        gpgSigsExpected := make(map[string]struct{})
        now := time.Now().UTC()