aboutsummaryrefslogtreecommitdiffstats
path: root/community/elasticsearch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-09-13 12:11:56 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-09-13 12:11:56 +0000
commit1bca7b781a166103b3bc72d3219ac435b8f3ceb6 (patch)
treebfb5774a2e144435cf7f719ca32a33e8e7eba481 /community/elasticsearch
parentee554094e0f3d0d499793b75b7bb83ed2c2e0fd0 (diff)
downloadaports-1bca7b781a166103b3bc72d3219ac435b8f3ceb6.tar.bz2
aports-1bca7b781a166103b3bc72d3219ac435b8f3ceb6.tar.xz
community/elasticsearch: add missing patch
Diffstat (limited to 'community/elasticsearch')
-rw-r--r--community/elasticsearch/busybox-mktemp.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/elasticsearch/busybox-mktemp.patch b/community/elasticsearch/busybox-mktemp.patch
new file mode 100644
index 0000000000..1109c28350
--- /dev/null
+++ b/community/elasticsearch/busybox-mktemp.patch
@@ -0,0 +1,13 @@
+The script correctly detect that is not from coreutils,
+and fallback using another syntax which doesn't work
+with BusyBox.
+--- a/bin/elasticsearch-env
++++ b/bin/elasticsearch-env
+@@ -88,6 +88,6 @@
+ if [ $mktemp_coreutils -eq 0 ]; then
+ ES_TMPDIR=`mktemp -d --tmpdir "elasticsearch.XXXXXXXX"`
+ else
+- ES_TMPDIR=`mktemp -d -t elasticsearch`
++ ES_TMPDIR=`mktemp -d -t elasticsearch.XXXXXXXX`
+ fi
+ fi