diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-05-22 12:19:08 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-05-22 12:19:08 -0400 |
| commit | ddbca1e618104818eaba81f3d1d48778ff528309 (patch) | |
| tree | 1902e960a81e08940c1e841e265f9cea5a232754 | |
| parent | 2927892fbd98aff67adbd7f53b5339351187672e (diff) | |
| download | dm-ddbca1e618104818eaba81f3d1d48778ff528309.tar.gz | |
osx will have to suffer
| -rw-r--r-- | source/conda.d | 6 |
1 files changed, 5 insertions, 1 deletions
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) { |
