tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Fixed meteor Future is not defined error
Gabriel Adomnicai
8 years ago
bc7c311c
466e7e23
+2
-1
1 changed file
expand all
collapse all
unified
split
pkgs
servers
meteor
main.patch
+2
-1
pkgs/servers/meteor/main.patch
···
2
index 84f94bc..4fbda17 100644
3
--- a/tools/cli/main.js
4
+++ b/tools/cli/main.js
5
-
@@ -484,6 +484,44 @@ var springboard = function (rel, options) {
6
process.exit(ret.wait());
7
}
8
···
10
+ // patch shebang:
11
+ var fs = require('fs');
12
+ var path = require("path")
0
13
+ var srcOld = fs.readFileSync(executable, 'utf8');
14
+ srcNew = srcOld.replace(/^#!\/bin\/bash/, '#!/bin/sh');
15
+ if (srcOld !== srcNew) {
···
2
index 84f94bc..4fbda17 100644
3
--- a/tools/cli/main.js
4
+++ b/tools/cli/main.js
5
+
@@ -484,6 +484,45 @@ var springboard = function (rel, options) {
6
process.exit(ret.wait());
7
}
8
···
10
+ // patch shebang:
11
+ var fs = require('fs');
12
+ var path = require("path")
13
+
+ var Future = require("fibers/future")
14
+ var srcOld = fs.readFileSync(executable, 'utf8');
15
+ srcNew = srcOld.replace(/^#!\/bin\/bash/, '#!/bin/sh');
16
+ if (srcOld !== srcNew) {