Skip to content

Commit

Permalink
[MINOR] Allow run script in other directory (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhangjian authored Feb 14, 2022
1 parent 62eeb0e commit 97ed081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eventmesh-runtime/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fi

echo "eventmesh use java location= "$JAVA

EVENTMESH_HOME=`cd "./.." && pwd`
EVENTMESH_HOME=`cd $(dirname $0)/.. && pwd`

export EVENTMESH_HOME

Expand Down
2 changes: 1 addition & 1 deletion eventmesh-runtime/bin/stop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#detect operating system.
OS=$(uname -o)

EVENTMESH_HOME=`cd "./.." && pwd`
EVENTMESH_HOME=`cd $(dirname $0)/.. && pwd`

export EVENTMESH_HOME

Expand Down

0 comments on commit 97ed081

Please sign in to comment.