[svn:parrot] r45539 - trunk/tools/dev

fperrad at svn.parrot.org fperrad at svn.parrot.org
Sat Apr 10 19:07:00 UTC 2010


Author: fperrad
Date: Sat Apr 10 19:06:59 2010
New Revision: 45539
URL: https://trac.parrot.org/parrot/changeset/45539

Log:
[win32] remove an unneeded slash/backslash conversion
(checked with distutils)

Modified:
   trunk/tools/dev/pbc_to_exe.pir

Modified: trunk/tools/dev/pbc_to_exe.pir
==============================================================================
--- trunk/tools/dev/pbc_to_exe.pir	Sat Apr 10 17:40:07 2010	(r45538)
+++ trunk/tools/dev/pbc_to_exe.pir	Sat Apr 10 19:06:59 2010	(r45539)
@@ -687,19 +687,14 @@
 .sub 'prepend_installable'
     .param string file
 
-    $P0   = '_config'()
-
-    .local string slash
-    slash = $P0['slash']
-
     .local pmc path
-    path = split slash, file
+    path     = split '/', file
 
     file     = path[-1]
     file     = concat 'installable_', file
     path[-1] = file
 
-    file     = join slash, path
+    file     = join '/', path
 
     .return( file )
 .end


More information about the parrot-commits mailing list