diff --git a/bin/node-red b/bin/node-red-pi similarity index 100% rename from bin/node-red rename to bin/node-red-pi diff --git a/package.json b/package.json index f7e7a3d7f..afabba239 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "test": "./node_modules/.bin/grunt" }, "bin" : { - "node-red": "bin/node-red" + "node-red": "./red.js", + "node-red-pi": "bin/node-red" }, "contributors": [ {"name": "Nick O'Leary"}, diff --git a/red/red.js b/red/red.js index 84dcc3bf4..3964a8ff8 100644 --- a/red/red.js +++ b/red/red.js @@ -1,3 +1,4 @@ +#!/usr/bin/env node /** * Copyright 2013, 2015 IBM Corp. *