From ddbca1e618104818eaba81f3d1d48778ff528309 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 22 May 2019 12:19:08 -0400 Subject: osx will have to suffer --- source/conda.d | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/conda.d b/source/conda.d index 3ca5b62..3f1fe1c 100644 --- a/source/conda.d +++ b/source/conda.d @@ -13,7 +13,11 @@ import std.typecons; static auto getenv(string[string] base=null, string preface=null) { const char delim = '='; string[string] env; - string cmd = "env -0"; + string cmd = "env"; + + version (Linux) { + cmd = cmd ~ " -0"; + } // Execute a command before dumping the environment if (preface !is null) { -- cgit