[rkward-cvs] SF.net SVN: rkward:[2537] trunk/rkward/rkward/rkward.bat.template

tfry at users.sourceforge.net tfry at users.sourceforge.net
Thu Jun 18 19:37:58 UTC 2009


Revision: 2537
          http://rkward.svn.sourceforge.net/rkward/?rev=2537&view=rev
Author:   tfry
Date:     2009-06-18 19:37:58 +0000 (Thu, 18 Jun 2009)

Log Message:
-----------
Make sure paths get mangled to dos 8.3 format. R CMD can't handle paths with spaces.

Modified Paths:
--------------
    trunk/rkward/rkward/rkward.bat.template

Modified: trunk/rkward/rkward/rkward.bat.template
===================================================================
--- trunk/rkward/rkward/rkward.bat.template	2009-06-17 13:21:29 UTC (rev 2536)
+++ trunk/rkward/rkward/rkward.bat.template	2009-06-18 19:37:58 UTC (rev 2537)
@@ -10,14 +10,14 @@
 SET R_BINARY=@R_EXECUTABLE@
 
 
-SET RKWARD.BIN=%~dp0\rkward.bin.exe
+SET RKWARD.BIN=%~dsp0\rkward.bin.exe
 SET DEBUGGER=
 
 IF NOT "%1" == "--debugger" GOTO run
 REM else:
 SHIFT
-SET DEBUGGER=%1
+SET DEBUGGER=%~s1
 SHIFT
 
 :run
-CALL "%R_BINARY%" CMD %DEBUGGER% "%RKWARD.BIN%" %1 %2 %3 %4 %5 %6 %7 %8 %9
+CALL "%R_BINARY%" CMD %DEBUGGER% %RKWARD.BIN% %1 %2 %3 %4 %5 %6 %7 %8 %9


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list