From: Holger Levsen Date: Wed, 9 Nov 2011 16:25:14 +0000 (+0100) Subject: oh well X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=304d65231a374d60633d5f3effc480c5ee25e293;p=profitbricks%2Fjenkins-build-scripts.git oh well --- 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