mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-24 16:26:13 +00:00
list-workarounds: Don't prepend kernel_path to the driver directory
We are changing the cwd, so we just need the relative patch from the root for the kernel git repo. This allows the script to work from anywhere. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
1109c5acfd
commit
81ba005381
@ -91,7 +91,7 @@ if __name__ == '__main__':
|
||||
% kernel_path)
|
||||
sys.exit(1)
|
||||
|
||||
i915_dir = os.path.join(kernel_path, 'drivers', 'gpu', 'drm', 'i915')
|
||||
i915_dir = os.path.join('drivers', 'gpu', 'drm', 'i915')
|
||||
olddir = os.getcwd()
|
||||
os.chdir(kernel_path)
|
||||
work_arounds, err = execute(['git', 'grep', '-n',
|
||||
|
Loading…
x
Reference in New Issue
Block a user