aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-05-22 12:19:08 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-05-22 12:19:08 -0400
commitddbca1e618104818eaba81f3d1d48778ff528309 (patch)
tree1902e960a81e08940c1e841e265f9cea5a232754 /source
parent2927892fbd98aff67adbd7f53b5339351187672e (diff)
downloaddm-ddbca1e618104818eaba81f3d1d48778ff528309.tar.gz
osx will have to suffer
Diffstat (limited to 'source')
-rw-r--r--source/conda.d6
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) {