Skip to content

Commit 8ee7c15

Browse files
committed
GenerateUnits.bat: Resolve absolute path
So it can be run from other work dirs.
1 parent efd5e49 commit 8ee7c15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GenerateUnits.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
@echo off
2-
powershell -ExecutionPolicy Bypass -NoProfile -File .\UnitsNet\Scripts\GenerateUnits.ps1
2+
SET scriptdir=%~dp0
3+
powershell -ExecutionPolicy Bypass -NoProfile -File %scriptdir%UnitsNet\Scripts\GenerateUnits.ps1
34
pause

0 commit comments

Comments
 (0)