Fix DEFAULT_GC_PERIOD_SEC type

This commit is contained in:
Konstantin Knizhnik
2021-04-22 12:01:25 +03:00
parent 546266b86d
commit 2ca8fbb6ff
3 changed files with 6 additions and 3 deletions

View File

@@ -138,7 +138,10 @@ pub fn init_repo(local_env: &mut LocalEnv) -> Result<()> {
.arg("--no-instructions")
.env_clear()
.env("LD_LIBRARY_PATH", local_env.pg_lib_dir().to_str().unwrap())
.env("DYLD_LIBRARY_PATH", local_env.pg_lib_dir().to_str().unwrap())
.env(
"DYLD_LIBRARY_PATH",
local_env.pg_lib_dir().to_str().unwrap(),
)
.stdout(Stdio::null())
.status()
.with_context(|| "failed to execute initdb")?;