Skip to content

Commit

Permalink
Merge pull request #23 from iwizardpro/patch-1
Browse files Browse the repository at this point in the history
Fix problem in version history (Paths with spaces)
  • Loading branch information
coreh committed Dec 29, 2011
2 parents bff9ffd + bc0759c commit 6ec75de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ setInterval(function() {
date: (new Date()).valueOf(),
uuid: generatedUuid
})
exec('cp -- ' + (process.cwd() + file) + ' ' + (process.cwd() + '/.nide/' + generatedUuid), function(err) {
exec('cp -- "' + (process.cwd() + file) + '" "' + (process.cwd() + '/.nide/' + generatedUuid) + '"', function(err) {
if (!err) {
saveVersionHistory()
}
Expand Down

0 comments on commit 6ec75de

Please sign in to comment.