refactor: make paths relative to current working directory
- Allows configuration files to be placed in separate folders, with paths in config files now relative to the config file's location. - Added `cd /d "%~dp0"` at the beginning of the `.bat` template to ensure paths are based on the script's location, enhancing portability and consistency.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
@echo off
|
||||
cd /d "%~dp0"
|
||||
|
||||
set "platform=xilinx"
|
||||
set "platform_ver=2019.1"
|
||||
set "work_dir=%~dp0build"
|
||||
|
||||
Reference in New Issue
Block a user