summaryrefslogtreecommitdiff
path: root/system/tls/devcerts.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-27 11:03:26 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-27 11:03:26 -0800
commit13e4352d8721700b5114b5643446cbe9449ccbbe (patch)
tree15ff09737969d753791661de4775781a4d307df4 /system/tls/devcerts.go
parentda91906c2c810ae4101890751aa402851c2556ad (diff)
need vendored system path for tls certs
Diffstat (limited to 'system/tls/devcerts.go')
-rw-r--r--system/tls/devcerts.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/tls/devcerts.go b/system/tls/devcerts.go
index 5e8801d..d6250a1 100644
--- a/system/tls/devcerts.go
+++ b/system/tls/devcerts.go
@@ -117,7 +117,8 @@ func setupDev() {
log.Fatalln("Couldn't find working directory to locate or save dev certificates:", err)
}
- devcertsPath := filepath.Join(pwd, "system", "tls", "devcerts")
+ vendorTLSPath := filepath.Join(pwd, "cmd", "ponzu", "vendor", "ponzu-cms", "ponzu", "system", "tls")
+ devcertsPath := filepath.Join(vendorTLSPath, "devcerts")
fmt.Println(devcertsPath)
err = os.Mkdir(devcertsPath, os.ModePerm|os.ModePerm)