From 9b9f85e5098f01cd063e54c7058aa49e66afd15d Mon Sep 17 00:00:00 2001 From: David Roberts Date: Fri, 8 Dec 2017 14:29:06 +0000 Subject: [PATCH] Add missing 's' to tmpdir name (#27721) When using mktemp from coreutils there was an 's' missing from elasticsearch. Follow-up for #27659 --- distribution/src/main/resources/bin/elasticsearch-env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/src/main/resources/bin/elasticsearch-env b/distribution/src/main/resources/bin/elasticsearch-env index 83380400173..a5cf04da77d 100644 --- a/distribution/src/main/resources/bin/elasticsearch-env +++ b/distribution/src/main/resources/bin/elasticsearch-env @@ -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