mandarinSh / OpenPolyEdu

2 stars 4 forks source link

[Bugfix] relative paths #22

Closed veronikaKochugova closed 5 years ago

veronikaKochugova commented 5 years ago

When running batch scripts, errors may occur due to relative paths in command and in env vars. For example, if you run scripts from the root directory as .\bin\some_script.bat or directly from bin as .\some_script.bat.

example:

PS C:\kochuv\OpenPolyEdu> bin\clean_workdir.bat
'set_env.bat' is not recognized as an internal or external command,
operable program or batch file.
veronikaKochugova commented 5 years ago

@IgorNikiforov I have added changes. Please, review.