Skip to content

Commit

Permalink
Merge pull request #1627 from jamshark70/topic/tempSynthDefCleanup
Browse files Browse the repository at this point in the history
Classlib: SystemSynthDefs: Clean up temp defs properly on all platforms
  • Loading branch information
telephon committed Aug 25, 2015
2 parents 0a0bfd9 + 55608e4 commit 5b4374b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCClassLibrary/Common/Audio/SystemSynthDefs.sc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SystemSynthDefs {
// clean up any written synthdefs starting with "temp__"
var path = SynthDef.synthDefDir ++ tempNamePrefix ++ "*";
"Cleaning up temp synthdefs...".inform;
if(pathMatch(path).notEmpty) { unixCmdGetStdOut(("rm -f" + "'" ++ path ++ "'") )};
pathMatch(path).do { |file| File.delete(file) };

// add system synth defs
(1..numChannels).do { arg i;
Expand Down

0 comments on commit 5b4374b

Please sign in to comment.