summaryrefslogtreecommitdiff
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
parent94eaaf889b92d3dd3897488ba141108b4369268f (diff)
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)
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 }