Skip to content

Commit

Permalink
Merge pull request #891 from rax-maas/init-es-posix-compliance
Browse files Browse the repository at this point in the history
make init-es.sh work outside bash
  • Loading branch information
iWebi committed Jul 26, 2022
2 parents fe5b71f + 1d6f4ff commit 7f0a74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blueflood-elasticsearch/src/main/resources/init-es.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if [ $ES_USERNAME ] && [ $ES_PASSWD ]; then
fi

# Using this in the checkfile function allows us to run this script from any directory
ABSOLUTE_PATH=$(cd `dirname "${BASH_SOURCE[0]}"` && pwd)
ABSOLUTE_PATH=$(cd `dirname "$0"` && pwd)
function checkFile
{
echo checking $1.
Expand Down

0 comments on commit 7f0a74d

Please sign in to comment.