From 79f40d24ae3d2af7972829ffb9558f93bbf130f8 Mon Sep 17 00:00:00 2001 From: Martin Carlberg Date: Fri, 17 Sep 2021 09:39:37 +0200 Subject: [PATCH] Fixed: Replace soft link to the directory 'node_modules' when it is already there. --- Jakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jakefile b/Jakefile index 16a3f7a93..ec5a7da93 100644 --- a/Jakefile +++ b/Jakefile @@ -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)