Permalink
Browse files

Merge pull request #23 from iwizardpro/patch-1

Fix problem in version history (Paths with spaces)
  • Loading branch information...
2 parents bff9ffd + bc0759c commit 6ec75dead636168e49c52b89d46e1ecab162f5e5 @coreh coreh committed Dec 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/project.js
View
@@ -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()
}

0 comments on commit 6ec75de

Please sign in to comment.