Skip to content

Commit

Permalink
Set MITSUBA_DIR to the directory of the Powershell script instead o…
Browse files Browse the repository at this point in the history
…f the working directory
  • Loading branch information
mworchel authored and rtabbara committed Dec 2, 2024
1 parent 84e41c7 commit d004332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/setpath.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
# * named 'build'.
# ***************************************************************

$env:MITSUBA_DIR = Get-Location
$env:MITSUBA_DIR = $PSScriptRoot
$env:PATH = $env:MITSUBA_DIR + ";" + $env:PATH
$env:PYTHONPATH = $env:MITSUBA_DIR + "\python" + ";" + $env:PYTHONPATH

0 comments on commit d004332

Please sign in to comment.