I have a setenv.cmd script which contains paths for the windows cmd prompt:
set CURRENT_SCRIPT_DIR=%~dp0
set PATH=%PATH%;%CURRENT_SCRIPT_DIR%bin
But I'm using bash (via msys in the git for windows project). Is there a way to source this cmd script in some way but have the variables set in bash? As if I had done export PATH=...
برچسب:
نویسنده: استخدام کار