salt/pkg/windows/buildenv/salt.bat

12 lines
260 B
Batchfile
Raw Normal View History

@ echo off
:: Script for invoking Salt Main
:: Accepts all parameters that Salt Main accepts
:: Define Variables
Set SaltDir=%~dp0
Set SaltDir=%SaltDir:~0,-1%
Set Python=%SaltDir%\bin\python.exe
Set Script=%SaltDir%\bin\Scripts\salt
"%Python%" "%Script%" %*