diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2015-05-14 18:41:17 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-05-14 18:41:48 +0200 |
commit | 241d0d3e18dbb6163153561c0a4097f86d8e6463 (patch) | |
tree | 80d26d55f10103cabb031e306182c71c8ae5fa93 | |
parent | 94eaaf889b92d3dd3897488ba141108b4369268f (diff) |
ecore_file: use portable environment lookup.
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_file/ecore_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_file/ecore_file.c b/src/lib/ecore_file/ecore_file.c index dc105db0c2..7a4a16c236 100644 --- a/src/lib/ecore_file/ecore_file.c +++ b/src/lib/ecore_file/ecore_file.c | |||
@@ -869,7 +869,7 @@ ecore_file_app_exe_get(const char *app) | |||
869 | p = app; | 869 | p = app; |
870 | if ((p[0] == '~') && (p[1] == '/')) | 870 | if ((p[0] == '~') && (p[1] == '/')) |
871 | { | 871 | { |
872 | const char *home = getenv("HOME"); | 872 | const char *home = eina_environment_home_get(); |
873 | if (home) eina_strbuf_append(buf, home); | 873 | if (home) eina_strbuf_append(buf, home); |
874 | p++; | 874 | p++; |
875 | } | 875 | } |