- CypressRepository
authorJan Vrany <jan.vrany@fit.cvut.cz>
Tue, 18 Sep 2012 13:03:02 +0000
changeset 19 e089dbf76ed6
parent 18 fb5dc5aae98c
child 20 cdf3ee8ceeaa
- CypressRepository changed: #packageDirectoryForPackageName:in:
CypressRepository.st
--- a/CypressRepository.st	Tue Sep 18 13:00:02 2012 +0000
+++ b/CypressRepository.st	Tue Sep 18 13:03:02 2012 +0000
@@ -56,11 +56,11 @@
     pkgDir exists ifTrue:[ ^ pkgDir ].
 
     "/Try add .package"
-    pkgDir := pkgDir withSuffix: self defaultFileSuffixForPackage.
+    pkgDir := pkgDir withSuffix: 'package'.
     pkgDir exists ifTrue:[ ^ pkgDir ].
 
     "/Hmm...maybe stx package name
-    pkgDir := repoDir / ((pkgName asString copy replaceAll:$: with:$_; replaceAll:$/ with:$_) , '.' , self defaultFileSuffixForPackage).
+    pkgDir := repoDir / ((pkgName asString copy replaceAll:$: with:$_; replaceAll:$/ with:$_) , '.package').
     pkgDir exists ifTrue:[ ^ pkgDir ].
 
     "/ No luck, return nil