From 81ba005381f06283e072a5a5cffd429c83651c53 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Thu, 23 May 2013 12:11:26 +0100 Subject: 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 --- scripts/list-workarounds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/list-workarounds b/scripts/list-workarounds index 687e0e17..3514aed1 100755 --- a/scripts/list-workarounds +++ b/scripts/list-workarounds @@ -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', -- cgit v1.2.3