"Fossies" - the Fresh Open Source Software Archive

Member "elasticsearch-6.8.23/bin/x-pack/certgen.bat" (6 Jan 2022, 666 Bytes) of package /linux/www/elasticsearch-6.8.23.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) MS DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 @echo off
    2 
    3 rem
    4 rem Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
    5 rem or more contributor license agreements. Licensed under the Elastic License;
    6 rem you may not use this file except in compliance with the Elastic License.
    7 rem
    8 
    9 setlocal enabledelayedexpansion
   10 setlocal enableextensions
   11 
   12 set SCRIPT=%0
   13 for %%I in (%SCRIPT%) do set DEPRECATED_DIRECTORY=%%~dpI
   14 set DEPRECATED_PATH=%DEPRECATED_DIRECTORY%certgen.bat
   15 for %%I in ("%DEPRECATED_DIRECTORY%..") do set ELASTICSEARCH_PATH=%%~dpfI\elasticsearch-certgen.bat
   16 echo %DEPRECATED_PATH% is deprecated, use %ELASTICSEARCH_PATH%
   17 
   18 call "%ELASTICSEARCH_PATH%" || exit /b 1
   19 
   20 endlocal
   21 endlocal