elasticsearch-log-processor icon indicating copy to clipboard operation
elasticsearch-log-processor copied to clipboard

$scriptdir isn't evaluated in run.sh

Open PhaedrusTheGreek opened this issue 8 years ago • 2 comments

For me, the following:

template_file_path="@${scriptdir}/elasticsearch/elasticsearch-template-5x.json"

results in: @/elasticsearch/elasticsearch-template-5x.json

PhaedrusTheGreek avatar Feb 17 '17 14:02 PhaedrusTheGreek

├ $ ./test.sh
++ readlink -f ./test.sh
readlink: illegal option -- f
usage: readlink [-n] [file ...]

PhaedrusTheGreek avatar Feb 17 '17 14:02 PhaedrusTheGreek

s/readlink/stat works for me

PhaedrusTheGreek avatar Feb 17 '17 14:02 PhaedrusTheGreek