#TUNING by cg
authorClaus Gittinger <cg@exept.de>
Mon, 15 Oct 2018 00:23:02 +0200
changeset 23448 c3a10c2e07a4
parent 23447 56d9f9b89345
child 23449 a03c056447f2
#TUNING by cg class: Smalltalk class changed: #projectDirectoryForPackage:
Smalltalk.st
--- a/Smalltalk.st	Sun Oct 14 23:39:40 2018 +0200
+++ b/Smalltalk.st	Mon Oct 15 00:23:02 2018 +0200
@@ -8053,16 +8053,16 @@
 
     ^ aPackage asPackageId packageDirectory.
 
-    "/ there might be a package specific resource directory ...
-    "/ in the directory, from which the project was loaded
-    prj := Project projectWithId:aPackage.
-    prj notNil ifTrue:[
-	prjDir := prj directory.
-    ].
-    (prjDir notNil and:[prjDir asFilename exists]) ifFalse:[
-	prjDir := Smalltalk getPackageFileName:(aPackage copyReplaceAll:$: with:$/).
-    ].
-    ^ prjDir
+"/    "/ there might be a package specific resource directory ...
+"/    "/ in the directory, from which the project was loaded
+"/    prj := Project projectWithId:aPackage.
+"/    prj notNil ifTrue:[
+"/        prjDir := prj directory.
+"/    ].
+"/    (prjDir notNil and:[prjDir asFilename exists]) ifFalse:[
+"/        prjDir := Smalltalk getPackageFileName:(aPackage copyReplaceAll:$: with:$/).
+"/    ].
+"/    ^ prjDir
 
     "
      Smalltalk projectDirectoryForPackage:'stx:libbasic'