Enable command extensions
We rely on command extensions in our scripts but we do not actually guarantee that they are enabled (usually they are, by default, but they can be disabled outside of our control). This commit ensures that they are enabled. Relates elastic/x-pack-elasticsearch#2307 Original commit: elastic/x-pack-elasticsearch@a5eec8ca7b
This commit is contained in:
parent
8e7bd27186
commit
5125978f60
|
@ -5,6 +5,7 @@ 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
|
||||
|
||||
|
@ -19,3 +20,4 @@ call "%~dp0x-pack-env.bat" || exit /b 1
|
|||
%*
|
||||
|
||||
endlocal
|
||||
endlocal
|
||||
|
|
|
@ -5,6 +5,7 @@ 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
|
||||
|
||||
|
@ -19,3 +20,4 @@ call "%~dp0x-pack-env.bat" || exit /b 1
|
|||
%*
|
||||
|
||||
endlocal
|
||||
endlocal
|
||||
|
|
|
@ -5,6 +5,7 @@ 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
|
||||
|
||||
|
@ -19,3 +20,4 @@ call "%~dp0x-pack-env.bat" || exit /b 1
|
|||
%*
|
||||
|
||||
endlocal
|
||||
endlocal
|
||||
|
|
|
@ -5,6 +5,7 @@ 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
|
||||
|
||||
|
@ -19,3 +20,4 @@ call "%~dp0x-pack-env.bat" || exit /b 1
|
|||
%*
|
||||
|
||||
endlocal
|
||||
endlocal
|
||||
|
|
|
@ -5,6 +5,7 @@ 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
|
||||
|
||||
|
@ -19,3 +20,4 @@ call "%~dp0x-pack-env.bat" || exit /b 1
|
|||
%*
|
||||
|
||||
endlocal
|
||||
endlocal
|
||||
|
|
|
@ -5,6 +5,7 @@ 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
|
||||
|
||||
|
@ -19,3 +20,4 @@ call "%~dp0x-pack-env.bat" || exit /b 1
|
|||
%*
|
||||
|
||||
endlocal
|
||||
endlocal
|
||||
|
|
|
@ -5,6 +5,7 @@ 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
|
||||
|
||||
|
@ -19,3 +20,4 @@ call "%~dp0x-pack-env.bat" || exit /b 1
|
|||
%*
|
||||
|
||||
endlocal
|
||||
endlocal
|
||||
|
|
Loading…
Reference in New Issue