/[gnue]/gnue-navigator/scripts/gnue-navigator
ViewVC logotype

Diff of /gnue-navigator/scripts/gnue-navigator

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by reinhard, Sun Oct 5 17:45:44 2003 UTC revision 1.2 by btami, Sun Oct 5 18:03:05 2003 UTC
# Line 19  Line 19 
19  # write to the Free Software Foundation, Inc., 59 Temple Place  # write to the Free Software Foundation, Inc., 59 Temple Place
20  # - Suite 330, Boston, MA 02111-1307, USA.  # - Suite 330, Boston, MA 02111-1307, USA.
21    
 import os  
 import sys  
   
 if sys.platform == "win32":  
   if __name__ == "__main__":  
     _BASE = os.path.abspath (os.path.join (os.path.dirname (sys.argv[0]), ".."))  
     _newpath = os.path.abspath (os.path.dirname (sys.argv[0]))  
     if os.environ.has_key ("PATH"):  
       _newpath = _newpath + ";" + os.environ ["PATH"]  
     os.environ ["PATH"] = _newpath  
   else:  
     _BASE = os.path.abspath (os.path.join (os.path.dirname (__file__), ".."))  
   os.putenv ("PYTHONCASEOK","1")  
   if os.path.isdir (os.path.join (_BASE, "extras")):  
     sys.path.append (os.path.join (_BASE, "extras"))  
   
22  from  gnue.navigator.GNClient import GNClient  from  gnue.navigator.GNClient import GNClient
23    
24  if __name__ == '__main__':  if __name__ == '__main__':

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26