--- a/UnixOperatingSystem.st Sun Jun 29 10:46:11 2014 +0200
+++ b/UnixOperatingSystem.st Sun Jun 29 10:46:36 2014 +0200
@@ -8772,38 +8772,42 @@
sysPath := super defaultSystemPath.
#(
- '/usr/local/lib/stx'
- '/usr/local/lib/smalltalk'
- '/usr/lib/stx'
- '/usr/lib/smalltalk'
- '/lib/stx'
- '/lib/smalltalk'
- '/opt/stx'
- '/opt/smalltalk'
+ '/usr/local/lib/stx'
+ '/usr/local/lib/smalltalk'
+ '/usr/local/lib/smalltalk-x'
+ '/usr/lib/stx'
+ '/usr/lib/smalltalk'
+ '/usr/lib/smalltalk-x'
+ '/lib/stx'
+ '/lib/smalltalk'
+ '/lib/smalltalk-x'
+ '/opt/stx'
+ '/opt/smalltalk'
+ '/opt/smalltalk-x'
) do:[:dirName |
- |dir|
-
- dir := dirName asFilename.
- (dir isDirectory) ifTrue:[
- "/ try to guess a gnu-smalltalk; skip it
- (dir construct:'initialize.st') exists ifFalse:[
- releaseFile := dir construct:'RELEASE'.
- releaseFile exists ifTrue:[
- s := releaseFile readStreamOrNil.
- s notNil ifTrue:[
- v := Integer readFrom:s onError:-1.
- s close.
- v == majorVersionNr ifTrue:[
- sysPath add:dirName
- ] ifFalse:[
- ('UnixOperatingSystem [info]: ignore files in ' , dir pathName , ' (RELEASE mismatch)') infoPrintCR.
- ]
- ] ifFalse:[
- ('UnixOperatingSystem [info]: ignore files in ' , dir pathName , ' (RELEASE missing)') infoPrintCR.
- ]
- ]
- ]
- ]
+ |dir|
+
+ dir := dirName asFilename.
+ (dir isDirectory) ifTrue:[
+ "/ try to guess a gnu-smalltalk; skip it
+ (dir construct:'initialize.st') exists ifFalse:[
+ releaseFile := dir construct:'RELEASE'.
+ releaseFile exists ifTrue:[
+ s := releaseFile readStreamOrNil.
+ s notNil ifTrue:[
+ v := Integer readFrom:s onError:-1.
+ s close.
+ v == majorVersionNr ifTrue:[
+ sysPath add:dirName
+ ] ifFalse:[
+ ('UnixOperatingSystem [info]: ignore files in ' , dir pathName , ' (RELEASE mismatch)') infoPrintCR.
+ ]
+ ] ifFalse:[
+ ('UnixOperatingSystem [info]: ignore files in ' , dir pathName , ' (RELEASE missing)') infoPrintCR.
+ ]
+ ]
+ ]
+ ]
].
^ sysPath
@@ -13269,11 +13273,11 @@
!UnixOperatingSystem class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.369 2014-06-25 16:25:06 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.370 2014-06-29 08:46:36 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.369 2014-06-25 16:25:06 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.370 2014-06-29 08:46:36 cg Exp $'
! !