From 7e750159ca2d464330c20ad738940d8e47ca2a6f Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Wed, 17 Jan 2024 12:25:31 +0100 Subject: [PATCH] change ocis basepath from home to Signed-off-by: Christian Richter --- docs/helpers/configenvextractor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/helpers/configenvextractor.go b/docs/helpers/configenvextractor.go index 46178d998..40e76c713 100644 --- a/docs/helpers/configenvextractor.go +++ b/docs/helpers/configenvextractor.go @@ -63,7 +63,7 @@ func generateIntermediateCode(templatePath string, intermediateCodePath string, func runIntermediateCode(intermediateCodePath string) { fmt.Println("Running intermediate go code for " + intermediateCodePath) - defaultPath := "~/.ocis" + defaultPath := "/etc/ocis" os.Setenv("OCIS_BASE_DATA_PATH", defaultPath) os.Setenv("OCIS_CONFIG_DIR", path.Join(defaultPath, "config")) out, err := exec.Command("go", "run", intermediateCodePath).Output()