Add missing 's' to tmpdir name (#27721)

When using mktemp from coreutils there was an 's' missing from
elasticsearch.

Follow-up for #27659
This commit is contained in:
David Roberts 2017-12-08 14:29:06 +00:00 committed by GitHub
parent 58b4d6c5fc
commit 9b9f85e509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ if [ -z "$ES_TMPDIR" ]; then
mktemp_coreutils=$?
set -e
if [ $mktemp_coreutils -eq 0 ]; then
ES_TMPDIR=`mktemp -d --tmpdir "elasticearch.XXXXXXXX"`
ES_TMPDIR=`mktemp -d --tmpdir "elasticsearch.XXXXXXXX"`
else
ES_TMPDIR=`mktemp -d -t elasticsearch`
fi