mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
cloud9: add patch to make it use nodejs 0.6.x for executing scripts
This matches the default nodejs version in OE Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From ac1953d04f3f26d6aa5d8f53a9397d3ba0e96fa3 Mon Sep 17 00:00:00 2001
|
||||
From: Koen Kooi <koen@circuitco.com>
|
||||
Date: Fri, 11 May 2012 15:23:02 +0000
|
||||
Subject: [PATCH] ide: use 'node' as interpreter for sketches instead of
|
||||
argv[0]
|
||||
|
||||
This enables running scripts with node 0.6.x instead of 0.4.x
|
||||
|
||||
Signed-off-by: root <root@beaglebone.(none)>
|
||||
---
|
||||
server/cloud9/ide.js | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/server/cloud9/ide.js b/server/cloud9/ide.js
|
||||
index ce782f5..6c4e0f7 100644
|
||||
--- a/server/cloud9/ide.js
|
||||
+++ b/server/cloud9/ide.js
|
||||
@@ -53,7 +53,7 @@ var Ide = module.exports = function(options, httpServer, exts, socket) {
|
||||
};
|
||||
|
||||
this.$users = {};
|
||||
- this.nodeCmd = process.argv[0];
|
||||
+ this.nodeCmd = "node";
|
||||
|
||||
var davOptions = {
|
||||
node: this.options.mountDir,
|
||||
--
|
||||
1.7.7
|
||||
|
||||
@@ -33,6 +33,7 @@ SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \
|
||||
file://index.js \
|
||||
file://cloud9.service \
|
||||
file://cloud9-avahi.service \
|
||||
file://0001-ide-use-node-as-interpreter-for-sketches-instead-of-.patch \
|
||||
"
|
||||
|
||||
SRCREV_cloud9ide = "c4e2574896a22bb749f0500b25f41c888d346bed"
|
||||
@@ -102,7 +103,7 @@ FILES_${PN}-dbg += "${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o
|
||||
${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/.debug \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN} = "nodejs4 gzip"
|
||||
RDEPENDS_${PN} = "nodejs4 nodejs gzip"
|
||||
|
||||
inherit systemd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user