gnome-games r7137 - in trunk: glchess/src gnome-sudoku/src



Author: andreasr
Date: Fri Jan 11 23:28:42 2008
New Revision: 7137
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7137&view=rev

Log:
Fix pyexecdir path variable set in makefile.


Modified:
   trunk/glchess/src/Makefile.am
   trunk/glchess/src/glchess.in.in
   trunk/gnome-sudoku/src/Makefile.am
   trunk/gnome-sudoku/src/gnome-sudoku.in.in

Modified: trunk/glchess/src/Makefile.am
==============================================================================
--- trunk/glchess/src/Makefile.am	(original)
+++ trunk/glchess/src/Makefile.am	Fri Jan 11 23:28:42 2008
@@ -9,6 +9,6 @@
 
 glchess: $(srcdir)/glchess.in
 	sed \
-		-e "s|\ pyexecdir\@|$(pyexecdir)|" \
+		-e "s|\#pyexecdir\#|$(pyexecdir)|" \
 	    	$< > $@
 	if test -f $@; then chmod u+x $@; fi

Modified: trunk/glchess/src/glchess.in.in
==============================================================================
--- trunk/glchess/src/glchess.in.in	(original)
+++ trunk/glchess/src/glchess.in.in	Fri Jan 11 23:28:42 2008
@@ -25,8 +25,8 @@
       from glchess.glchess import start_game
     except ImportError:
       import sys
-      if "@pyexecdir@" not in sys.path:
-          sys.path.insert(0, "@pyexecdir@")
+      if "#pyexecdir#" not in sys.path:
+          sys.path.insert(0, "#pyexecdir#")
 
       try:
           # Import glchess from system installation (with pyexecdir in path).

Modified: trunk/gnome-sudoku/src/Makefile.am
==============================================================================
--- trunk/gnome-sudoku/src/Makefile.am	(original)
+++ trunk/gnome-sudoku/src/Makefile.am	Fri Jan 11 23:28:42 2008
@@ -9,6 +9,6 @@
 
 gnome-sudoku: $(srcdir)/gnome-sudoku.in
 	sed \
-		-e "s|\ pyexecdir\@|$(pyexecdir)|" \
+		-e "s|\#pyexecdir\#|$(pyexecdir)|" \
 	    	$< > $@
 	if test -f $@; then chmod u+x $@; fi

Modified: trunk/gnome-sudoku/src/gnome-sudoku.in.in
==============================================================================
--- trunk/gnome-sudoku/src/gnome-sudoku.in.in	(original)
+++ trunk/gnome-sudoku/src/gnome-sudoku.in.in	Fri Jan 11 23:28:42 2008
@@ -28,8 +28,8 @@
       from gnome_sudoku.gnome_sudoku import start_game
     except ImportError:
       import sys
-      if "@pyexecdir@" not in sys.path:
-          sys.path.insert(0, "@pyexecdir@")
+      if "#pyexecdir#" not in sys.path:
+          sys.path.insert(0, "#pyexecdir#")
 
       try:
           # Import gnome-sudoku from system installation (with pyexecdir in path).



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]