Fixed: Replace soft link to the directory 'node_modules' when it is already there.

This commit is contained in:
Martin Carlberg
2021-09-17 09:39:37 +02:00
parent fdff92e5c8
commit 79f40d24ae
+1 -1
View File
@@ -11,7 +11,7 @@ var subprojects = ["Objective-J", "CommonJS", "Foundation", "AppKit", "Tools"];
task ("build", function() {
childProcess.execSync("mkdir -p $CAPP_BUILD", {stdio: 'inherit'});
childProcess.execSync("ln -sf $PWD/node_modules $CAPP_BUILD/node_modules", {stdio: 'inherit'});
childProcess.execSync("ln -snf $PWD/node_modules $CAPP_BUILD/node_modules", {stdio: 'inherit'});
});
["build", "clean", "clobber"].forEach(function(aTaskName)