Skip to content

Commit

Permalink
Add missing 's' to tmpdir name (#27721)
Browse files Browse the repository at this point in the history
When using mktemp from coreutils there was an 's' missing from
elasticsearch.

Follow-up for #27659
  • Loading branch information
droberts195 committed Dec 8, 2017
1 parent 79545c0 commit 5d9cc43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/src/main/resources/bin/elasticsearch-env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d9cc43

Please sign in to comment.