kopia lustrzana https://github.com/c9/core
use cp instead of bash spawn cp
rodzic
f8ec16f935
commit
9f4c1b98e1
|
@ -308,11 +308,8 @@ define(function(require, exports, module) {
|
|||
if (process.cwd() == packagePath)
|
||||
installNPM();
|
||||
else {
|
||||
proc.execFile("bash", {
|
||||
args: [
|
||||
"-c", "cp -a \"" + join(process.cwd(), "/\"*")
|
||||
+ " \"" + packagePath + "\""
|
||||
]
|
||||
proc.execFile("cp", {
|
||||
args: ["-R", process.cwd(), dirname(packagePath)]
|
||||
}, function(err){
|
||||
if (err) return callback(err);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue