diff options
author | Karlson2k <k2k@narod.ru> | 2014-10-22 22:48:45 +0400 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2014-10-28 23:21:59 +0100 |
commit | ea1901e36495c62161315f54a8af398ea965ab9d (patch) | |
tree | 7da22f7e542b48890bdd51e93a007184c2dc09cb /tools | |
parent | 34923de71b9e1597d5a610d9237c440909eaeb0c (diff) |
Change APP_HOME -> KODI_HOME and other APP_* -> KODI_*
Diffstat (limited to 'tools')
-rw-r--r-- | tools/EventClients/Clients/OSXRemote/XBMCHelper.m | 2 | ||||
-rw-r--r-- | tools/Linux/kodi.sh.in | 4 | ||||
-rwxr-xr-x | tools/darwin/runtime/preflight | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/tools/EventClients/Clients/OSXRemote/XBMCHelper.m b/tools/EventClients/Clients/OSXRemote/XBMCHelper.m index 20d0f6fe8f..b507611746 100644 --- a/tools/EventClients/Clients/OSXRemote/XBMCHelper.m +++ b/tools/EventClients/Clients/OSXRemote/XBMCHelper.m @@ -268,7 +268,7 @@ NSFileManager *fileManager = [NSFileManager defaultManager]; if([fileManager fileExistsAtPath:mp_app_path]){ if(mp_home_path && [mp_home_path length]) - setenv("APP_HOME", [mp_home_path UTF8String], 1); + setenv("KODI_HOME", [mp_home_path UTF8String], 1); //launch or activate xbmc if(![[NSWorkspace sharedWorkspace] launchApplication:mp_app_path]) ELOG(@"Error launching %@", mp_app_path); diff --git a/tools/Linux/kodi.sh.in b/tools/Linux/kodi.sh.in index ccb44b6f73..938582d691 100644 --- a/tools/Linux/kodi.sh.in +++ b/tools/Linux/kodi.sh.in @@ -104,8 +104,8 @@ print_crash_report() fi single_stacktrace "$PWD" 1 # Find in plugins directories - if [ $APP_HOME ]; then - BASEDIR=$APP_HOME + if [ $KODI_HOME ]; then + BASEDIR=$KODI_HOME else BASEDIR="$LIBDIR/${bin_name}/" fi diff --git a/tools/darwin/runtime/preflight b/tools/darwin/runtime/preflight index 06a7164d0a..e30336630a 100755 --- a/tools/darwin/runtime/preflight +++ b/tools/darwin/runtime/preflight @@ -3,16 +3,16 @@ die("No HOME set, cannot install defaults.\n") if !$ENV{'HOME'}; -die("No APP_HOME set, cannot install defaults.\n") - if !$ENV{'APP_HOME'}; +die("No KODI_HOME set, cannot install defaults.\n") + if !$ENV{'KODI_HOME'}; sub get_home { return $ENV{'HOME'} if defined $ENV{'HOME'}; } sub get_extras { - # APP_HOME is assumed to be always setup - return $ENV{'APP_HOME'}."/extras/" if get_os() eq "osx"; + # KODI_HOME is assumed to be always setup + return $ENV{'KODI_HOME'}."/extras/" if get_os() eq "osx"; return; } |