Skip to content

Commit

Permalink
Issue #4: clean up use of GDKGsDevKit_stonesBase class>>dataHomeEnvVa…
Browse files Browse the repository at this point in the history
…r ... had embedded '$' which was wrong
  • Loading branch information
dalehenrich committed Jun 1, 2023
1 parent 1f26802 commit a9a9474
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/createStone.solo
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ doit
gemstoneVersionString: gemstoneVersion.
stoneSpec
parentRegistryName: self registry;
parentRegistryPath: (self globalNamed: 'GDKGsDevKit_stonesBase') dataHomeEnvVar, '/' , (stonesRegistry registryFile relativeTo: stonesRegistry class base_data_home) pathString;
parentRegistryPath: '$', (self globalNamed: 'GDKGsDevKit_stonesBase') dataHomeEnvVar, '/' , (stonesRegistry registryFile relativeTo: stonesRegistry class base_data_home) pathString;
yourself.
(stoneSpec registryFile exists or: [stoneSpec rootDir exists])
ifTrue: [
Expand Down
2 changes: 1 addition & 1 deletion bin/updateProjectSet.solo
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ createProjectSet: name in: registry
| projectSet |
projectSet := ((self globalNamed: 'GDKProjectSet') newNamed: name)
parentRegistryName: registry name;
parentRegistryPath: (self globalNamed: 'GDKGsDevKit_stonesBase') dataHomeEnvVar, '/' , (registry registryFile relativeTo: registry class base_data_home) pathString;
parentRegistryPath: '$', (self globalNamed: 'GDKGsDevKit_stonesBase') dataHomeEnvVar, '/' , (registry registryFile relativeTo: registry class base_data_home) pathString;
yourself.
projectSet registryFile exists
ifTrue: [ self error: 'project set ', projectSet registryfile pathString printString, ' already exists'].
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
registryPath
^ GDKGsDevKit_stonesBase dataHomeEnvVar, '/'
^ '$' , GDKGsDevKit_stonesBase dataHomeEnvVar , '/'
, (self registryFile relativeTo: self class base_data_home) pathString
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
accessing
dataHomeEnvVar
^ '$STONES_DATA_HOME'
^ 'STONES_DATA_HOME'
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ newRegistryNamed: registryName
stoneRegistry := (GDKStonesRegistry newNamed: registryName)
parentRegistryName: registryName;
parentRegistryPath:
GDKGsDevKit_stonesBase dataHomeEnvVar , '/'
'$' , GDKGsDevKit_stonesBase dataHomeEnvVar , '/'
, (self configFile relativeTo: GDKGsDevKit_stonesBase base_data_home) pathString;
yourself.
registryFile := stoneRegistry registryFile.
Expand Down

0 comments on commit a9a9474

Please sign in to comment.