Skip to content
This repository
Browse code

fixed: Ticket #8449 - do not hardcode lsb_release location (Thanks An…

…ssi)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26631 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information...
commit 7f180fdbf2846edca53f006c82b3399fb23ff94e 1 parent 807a181
authored January 10, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/utils/SystemInfo.cpp
2  xbmc/utils/SystemInfo.cpp
@@ -578,7 +578,7 @@ CStdString CSysInfo::GetLinuxDistro()
578 578
 {
579 579
   CStdString result = "";
580 580
 
581  
-  FILE* pipe = popen("unset PYTHONHOME; unset PYTHONPATH; /usr/bin/lsb_release -d | cut -f2", "r");
  581
+  FILE* pipe = popen("unset PYTHONHOME; unset PYTHONPATH; lsb_release -d | cut -f2", "r");
582 582
   if (pipe)
583 583
   {
584 584
     char buffer[256] = {'\0'};

0 notes on commit 7f180fd

Please sign in to comment.
Something went wrong with that request. Please try again.