changeset 15:de378945b839

Fixed 2 (of 3) issues with the scons script for windows * Removed unnecessary START command from parpg.bat.in * Changed PROGRAM_NAME to PROJECT_NAME for the default prefix value in windows
author KarstenBock@gmx.net
date Thu, 09 Jun 2011 15:59:52 +0200
parents 6ff6a2f74f1e
children e97972cc7110
files SConstruct bin/parpg.bat.in
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/SConstruct	Mon Jun 06 16:23:53 2011 -1000
+++ b/SConstruct	Thu Jun 09 15:59:52 2011 +0200
@@ -141,7 +141,7 @@
     PY_LIB_NAME = 'python$PY_VERSION_SHORT'
 elif platform_name == 'Windows':
     try:
-        PREFIX_DEFAULT = os.environ['PROGRAMFILES'] + r'\$PROGRAM_NAME'
+        PREFIX_DEFAULT = os.environ['PROGRAMFILES'] + r'\$PROJECT_NAME'
     except KeyError:
         PREFIX_DEFAULT = ''
         error_message = '%PROGRAMFILES% environmental variable is not ' \
--- a/bin/parpg.bat.in	Mon Jun 06 16:23:53 2011 -1000
+++ b/bin/parpg.bat.in	Thu Jun 09 15:59:52 2011 +0200
@@ -2,4 +2,4 @@
 
 SET PYTHONPATH=%PYTHONPATH%;"@PY_PACKAGES_DIR@"
 CD %~dp0
-START "@PYTHON@" -m parpg.main "@SYS_CONF_DIR@" %*
\ No newline at end of file
+@PYTHON@ -m parpg.main "@SYS_CONF_DIR@" %*
\ No newline at end of file