mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-01 09:52:23 -06:00
change ocis basepath from home to
Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user