From e7b21021261b723942efd21def740fec909f3e43 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 29 Jan 2018 10:52:27 +0100 Subject: [PATCH] Remove extension executables Relates to elastic/x-pack-elasticsearch#3734 Original commit: elastic/x-pack-elasticsearch@da75402bc9907d67ce3e17efd120ee31248db63b --- plugin/security/src/main/bin/extension | 18 ----------------- plugin/security/src/main/bin/extension.bat | 23 ---------------------- 2 files changed, 41 deletions(-) delete mode 100755 plugin/security/src/main/bin/extension delete mode 100644 plugin/security/src/main/bin/extension.bat diff --git a/plugin/security/src/main/bin/extension b/plugin/security/src/main/bin/extension deleted file mode 100755 index 3bed986920b..00000000000 --- a/plugin/security/src/main/bin/extension +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one -# or more contributor license agreements. Licensed under the Elastic License; -# you may not use this file except in compliance with the Elastic License. - -source "`dirname "$0"`"/../elasticsearch-env - -source "`dirname "$0"`"/x-pack-security-env - -exec \ - "$JAVA" \ - $ES_JAVA_OPTS \ - -Des.path.home="$ES_HOME" \ - -Des.path.conf="$ES_PATH_CONF" \ - -cp "$ES_CLASSPATH" \ - org.elasticsearch.xpack.core.extensions.XPackExtensionCli \ - "$@" diff --git a/plugin/security/src/main/bin/extension.bat b/plugin/security/src/main/bin/extension.bat deleted file mode 100644 index 4f6bb3a0515..00000000000 --- a/plugin/security/src/main/bin/extension.bat +++ /dev/null @@ -1,23 +0,0 @@ -@echo off - -rem Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one -rem or more contributor license agreements. Licensed under the Elastic License; -rem you may not use this file except in compliance with the Elastic License. - -setlocal enabledelayedexpansion -setlocal enableextensions - -call "%~dp0..\elasticsearch-env.bat" || exit /b 1 - -call "%~dp0x-pack-security-env.bat" || exit /b 1 - -%JAVA% ^ - %ES_JAVA_OPTS% ^ - -Des.path.home="%ES_HOME%" ^ - -Des.path.conf="%ES_PATH_CONF%" ^ - -cp "%ES_CLASSPATH%" ^ - org.elasticsearch.xpack.core.extensions.XPackExtensionCli ^ - %* - -endlocal -endlocal