aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_file
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-05-14 18:41:17 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-14 18:41:48 +0200
commit241d0d3e18dbb6163153561c0a4097f86d8e6463 (patch)
tree80d26d55f10103cabb031e306182c71c8ae5fa93 /src/lib/ecore_file
parentecore_con: use portable environment lookup. (diff)
downloadefl-241d0d3e18dbb6163153561c0a4097f86d8e6463.tar.gz
ecore_file: use portable environment lookup.
Diffstat (limited to 'src/lib/ecore_file')
-rw-r--r--src/lib/ecore_file/ecore_file.c2
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)
p = app;
if ((p[0] == '~') && (p[1] == '/'))
{
- const char *home = getenv("HOME");
+ const char *home = eina_environment_home_get();
if (home) eina_strbuf_append(buf, home);
p++;
}