forked from Metacello/metacello
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
override tempFileFor:suffix: for Windows compatibility (Squeak only)
Metacello-Platform.squeak-jr.30
- Loading branch information
Showing
3 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
...llo-Platform.squeak.package/MetacelloSqueakPlatform.class/instance/tempFileFor.suffix..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
file system | ||
tempFileFor: aName suffix: aSuffixString | ||
^ (Smalltalk os platformName = 'Win32' | ||
ifTrue: [OSProcess thisOSProcess environment at: 'TMP'] | ||
ifFalse: ['/tmp']) , FileDirectory slash , aName , aSuffixString |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
repository/Metacello-Platform.squeak.package/monticello.meta/version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters