File childsplay-0.84.1-highscore.patch of Package schoolsplay

--- childsplay-0.81.8/CPConstants.py~	2006-05-05 10:56:38.000000000 +0200
+++ childsplay-0.81.8/CPConstants.py	2006-05-05 10:56:38.000000000 +0200
@@ -21,7 +21,6 @@
 MODULESDATADIR = BASEPATH.SHARELIBDATADIR
 LOCALEDIR = BASEPATH.LOCALEDIR
 ASSETMLROOT = BASEPATH.ASSETMLDIR
-SCOREFILE = BASEPATH.SCOREFILE
 CHILDSPLAYRC = BASEPATH.CHILDSPLAYRC
 LIBDIR = BASEPATH.LIBDIR
 MODULES = BASEPATH.MODULESDIR
@@ -43,6 +42,9 @@
     except KeyError,info:
         print info
         HOMEDIR = os.path.abspath(sys.path[0])
+
+# no sgid support for python, so drop the scorefile in the homedir
+SCOREFILE = os.path.join(HOMEDIR, 'childsplay.score')
         
 # this is the directory tree in HOME_DIR_NAME.
 # Names seperated by commas are the names from which directories are created
openSUSE Build Service is sponsored by