Update kernel to ignore whitespace in the kernel path.
Signed-off-by: Scott Zawalski <scottz@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2253 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/kernel.py b/client/bin/kernel.py
index cc1cc05..595b997 100755
--- a/client/bin/kernel.py
+++ b/client/bin/kernel.py
@@ -723,7 +723,7 @@
except ImportError:
# just make the preprocessor a nop
def preprocess_path(path):
- return path
+ return path.strip()
def auto_kernel(job, path, subdir, tmp_dir, build_dir, leave=False):