Fix `AbstractOperatingSystem >> #defaultPackagePath` for out-of-tree builds jv
authorJan Vrany <jan.vrany@labware.com>
Wed, 24 Nov 2021 11:28:38 +0000
branchjv
changeset 25435 11c21fc7bb1c
parent 25434 74d82599196a
child 25436 de7303361fab
Fix `AbstractOperatingSystem >> #defaultPackagePath` for out-of-tree builds This commit fixes a bug introduced in commit bbae1f420889.
AbstractOperatingSystem.st
--- a/AbstractOperatingSystem.st	Mon Oct 18 10:03:14 2021 +0200
+++ b/AbstractOperatingSystem.st	Wed Nov 24 11:28:38 2021 +0000
@@ -5259,7 +5259,7 @@
                     | root top |
 
                     top := definition pathToTopWithSeparator: Filename separator.
-                    root := execPath asFilename directory / top / '..' / '..' / '..' .
+                    root := execPath asFilename directory / '..' / '..' / top / '..'.
                     root exists ifTrue:[ 
                         packagePath add: root asAbsoluteFilename pathName.
                     ].