mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20:49 +00:00
Some cleanup
This commit is contained in:
parent
32c95dbb9d
commit
6628e1d4fd
4 changed files with 14 additions and 12 deletions
|
|
@ -3,11 +3,7 @@ REM Generated wrapper for {{PACKAGE_MANAGER}} by safe-chain
|
|||
REM This wrapper intercepts {{PACKAGE_MANAGER}} calls for non-interactive environments
|
||||
|
||||
REM Remove shim directory from PATH to prevent infinite loops
|
||||
if defined SAFE_CHAIN_DIR (
|
||||
set "SHIM_DIR=%SAFE_CHAIN_DIR%\shims"
|
||||
) else (
|
||||
set "SHIM_DIR=%USERPROFILE%\.safe-chain\shims"
|
||||
)
|
||||
set "SHIM_DIR={{SHIMS_DIR}}"
|
||||
call set "CLEAN_PATH=%%PATH:%SHIM_DIR%;=%%"
|
||||
|
||||
REM Check if aikido command is available with clean PATH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue