From 304d65231a374d60633d5f3effc480c5ee25e293 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 9 Nov 2011 17:25:14 +0100 Subject: [PATCH] oh well --- kernel_inpbuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel_inpbuilder.py b/kernel_inpbuilder.py index 4116f62..1462fad 100644 --- a/kernel_inpbuilder.py +++ b/kernel_inpbuilder.py @@ -353,7 +353,7 @@ if __name__ == '__main__': OVERLAY_DIR = options.overlay_dir or '/usr/share/kernel-package' # add directory where current script is in to python search path - cmd_folder = sys.path[0] + cmd_folder = os.path.join(OVERLAY_DIR,'..') sys.path.insert(0, cmd_folder) os.environ['WORKSPACE']=cmd_folder # needed by kernel_persistence import kernel_persistence -- 2.39.5