diff --git a/grunt b/grunt old mode 100644 new mode 100755 index 759cae7..f0dea57 --- a/grunt +++ b/grunt @@ -14,5 +14,10 @@ # See the License for the specific language governing permissions and # limitations under the License. # -"node/node" "./node_modules/.bin/grunt" "$@" +node="node/node" + +if hash "node" 2>/dev/null ; then + node="node" +fi +"$node" "./node_modules/.bin/grunt" "$@" diff --git a/package.json b/package.json old mode 100755 new mode 100644 index 0df9d2a..7c2d932 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "devDependencies": { "grunt": "^0.4.5", "grunt-autoprefixer": "^3.0.0", + "grunt-cli": "^0.1.13", "grunt-concurrent": "^1.0.0", "grunt-contrib-clean": "^0.6.0", "grunt-contrib-concat": "^0.5.0", @@ -37,4 +38,4 @@ "scripts": { "test": "grunt test" } -} \ No newline at end of file +}