Skip to content

Commit

Permalink
fix pm2 binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed May 19, 2019
1 parent 2c25ff8 commit 8380e62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pm2",
"preferGlobal": true,
"version": "4.0.0-beta-1",
"version": "4.0.0-beta-2",
"engines": {
"node": ">=8.0.0"
},
Expand Down
3 changes: 2 additions & 1 deletion pm2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash

./node/bin/node ./bin/pm2 $@
DIR="$(dirname "$(readlink -f "$0")")"
$DIR/node/bin/node $DIR/bin/pm2 $@

0 comments on commit 8380e62

Please sign in to comment.