CVS: src/si/extras entitypath.py.in,NONE,1.1 entitycheck.py,1.33,1.34

Mats Wichmann <[email protected]> Fri, 25 Apr 2003 09:30:25 -0700
Newsgroups gmane.linux.lsb.implementation
Message-ID <[email protected]>
Update of /cvsroot/lsb/src/si/extras
In directory sc8-pr-cvs1:/tmp/cvs-serv24763/extras

Modified Files:
	entitycheck.py 
Added Files:
	entitypath.py.in 
Log Message:
Add localization of entitycheck
Fill in some older bits in Makefile.in


--- NEW FILE ---
# this is a generated file with paths to configure the
# entitycheck program

entity_file = 'entities/package'
md5sum_file = 'extras/md5sums'
update_file = 'extras/package_locations'
package_path = '@PACKAGEDIR@'
patch_path = '@PACKAGEDIR@'
fallback_url = '@FALLBACKURL@'
version = '@LSBSIVERSION@'

Index: entitycheck.py
===================================================================
RCS file: /cvsroot/lsb/src/si/extras/entitycheck.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** entitycheck.py	27 Mar 2003 19:17:31 -0000	1.33
--- entitycheck.py	25 Apr 2003 16:30:18 -0000	1.34
***************
*** 33,42 ****
  # PATH DEFAULTS the only stuff that should need tuning
  # These are used as globals throughout
! entity_file = 'entities/package'
! package_path = '/usr/src/si/packages'
! patch_path = '/usr/src/si/packages'
! md5sum_file = 'extras/md5sums'
! update_file = 'extras/package_locations'
! fallback_url = 'ftp://freestandards.org/pub/lsb/impl/packages'
  
  # Behavior defaults: generally should not change, since
--- 33,43 ----
  # PATH DEFAULTS the only stuff that should need tuning
  # These are used as globals throughout
! sys.path.append('./extras')
! try:
!     from entitypath import *
! except ImportError:
!     print "Cannot find configuration file <extras/entitypath.py>"
!     print "Probably need to run Configure"
!     sys.exit(1)
  
  # Behavior defaults: generally should not change, since