Skip to content

Commit

Permalink
do not rely on readlink
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed Aug 8, 2017
1 parent ab0d13e commit 62086dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenGrok
Expand Up @@ -134,8 +134,8 @@ else
exit 1
fi

SCRIPT_FILE=`readlink -f "${0}"`
SCRIPT_DIRECTORY=`dirname "${SCRIPT_FILE}"`
SCRIPT_DIRECTORY=`dirname "${0}"`
export SCRIPT_DIRECTORY=`cd "${SCRIPT_DIRECTORY}"; pwd -P`

#
# Default Instance Configuration
Expand Down

0 comments on commit 62086dc

Please sign in to comment.