# HG changeset patch
# User Patrik Svestka <patrik.svestka@gmail.com>
# Date 1496121863 -7200
# Tue May 30 07:24:23 2017 +0200
# Branch jv
# Node ID 5dc1f52e6053385c3c0313f8d42afade811b9422
# Parent dc75b3c9c5375fce7d977b0604bb94cc417fca4c
Issue #147 - Wrong execpath in Windows
The issue is connected moste probably to copy & paste error. At the end of path
there were doubled backslashes (\\). After changing it to single backslash (\)
there is no need to specify the STX_PACKAGEPATH and change directory.
More at: https://swing.fit.cvut.cz/projects/stx-jv/ticket/147
diff -r dc75b3c9c537 -r 5dc1f52e6053 AbstractOperatingSystem.st
a
|
b
|
|
5202 | 5202 | packagePath add: (execPath copyTo: execPath size - '/stx/projects/smalltalk/stx' size) |
5203 | 5203 | ] ifFalse:[ |
5204 | 5204 | self isMSWINDOWSlike ifTrue:[ |
5205 | | ((execPath endsWith: '\stx\projects\smalltalk\\stx.com') or:[execPath endsWith: '\stx\projects\smalltalk\\stx.exe']) ifTrue:[ |
5206 | | packagePath add: (execPath copyTo: execPath size - '\stx\projects\smalltalk\\stx.exe' size) |
| 5205 | ((execPath endsWith: '\stx\projects\smalltalk\stx.com') or:[execPath endsWith: '\stx\projects\smalltalk\stx.exe']) ifTrue:[ |
| 5206 | packagePath add: (execPath copyTo: execPath size - '\stx\projects\smalltalk\stx.exe' size) |
5207 | 5207 | ] |
5208 | 5208 | ] |
5209 | 5209 | ] |