summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python-wrapper.c')
-rw-r--r--python-wrapper.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/python-wrapper.c b/python-wrapper.c
index 6596c30..75a1de4 100644
--- a/python-wrapper.c
+++ b/python-wrapper.c
@@ -12,7 +12,11 @@
#include <unistd.h>
#include <sys/stat.h>
-#define ENVD_CONFIG "/etc/env.d/python/config"
+#ifndef ENVD
+#define ENVD "/etc/env.d"
+#endif
+
+#define ENVD_CONFIG ENVD "/python/config"
/* 127 is the standard return code for "command not found" */
#define EXIT_ERROR 127