--- a/ApplicationDefinition.st Fri Oct 26 03:38:22 2018 +0200
+++ b/ApplicationDefinition.st Fri Oct 26 03:55:15 2018 +0200
@@ -2878,10 +2878,9 @@
dirsMade add:destination.
].
sourcePattern notNil ifTrue:[
- sourcePattern = 'resources' ifTrue:[
- sourcePattern := '.resources'
+ sourcePattern ~= 'resources' ifTrue:[
+ stream tab; nextPutLine:('-cp -r %1 "%2"' bindWith:sourcePattern with:destination).
].
- stream tab; nextPutLine:('-cp -r %1 "%2"' bindWith:sourcePattern with:destination).
].
].
@@ -2919,6 +2918,7 @@
self commonFilesToInstall_unix do:[:eachPair |
genLine value:s value:'MacOS' value:eachPair
].
+ s tab; nextPutLine:('-cp -r %1 "%2"' bindWith:'.resources' with:resourcesDir).
s tab; nextPutLine:('@-rm "%1/"*WINrc.rc' bindWith:macOSDir).
s tab; nextPutLine:('@-rm "%1/"*WinRC.rc' bindWith:macOSDir).
self additionalFilesToInstall_unix do:[:eachPair | genLine value:s value:'MacOS' value:eachPair].
@@ -2932,7 +2932,7 @@
].
"Modified: / 24-02-2017 / 16:37:22 / cg"
- "Modified: / 25-10-2018 / 14:54:16 / Claus Gittinger"
+ "Modified: / 26-10-2018 / 03:54:54 / Claus Gittinger"
!
osxPkgDistributionScript