mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #26127 from gabesoft/upstream-master
Fixed meteor Future is not defined error
This commit is contained in:
commit
47868cbfb8
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@ diff --git a/tools/cli/main.js b/tools/cli/main.js
|
|||
index 84f94bc..4fbda17 100644
|
||||
--- a/tools/cli/main.js
|
||||
+++ b/tools/cli/main.js
|
||||
@@ -484,6 +484,44 @@ var springboard = function (rel, options) {
|
||||
@@ -484,6 +484,45 @@ var springboard = function (rel, options) {
|
||||
process.exit(ret.wait());
|
||||
}
|
||||
|
||||
|
@ -10,6 +10,7 @@ index 84f94bc..4fbda17 100644
|
|||
+ // patch shebang:
|
||||
+ var fs = require('fs');
|
||||
+ var path = require("path")
|
||||
+ var Future = require("fibers/future")
|
||||
+ var srcOld = fs.readFileSync(executable, 'utf8');
|
||||
+ srcNew = srcOld.replace(/^#!\/bin\/bash/, '#!/bin/sh');
|
||||
+ if (srcOld !== srcNew) {
|
||||
|
|
Loading…
Reference in a new issue