]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix path
authorHolger Levsen <holger@layer-acht.org>
Wed, 2 Nov 2011 15:00:32 +0000 (16:00 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 2 Nov 2011 15:00:32 +0000 (16:00 +0100)
kernel_inpbuilder.py

index 170138d0b7e12764edd8b6dd9e7506ee3c38eb2f..71680970afb4e5abb9ca0d4dfca98978efb6470e 100644 (file)
@@ -428,7 +428,7 @@ if __name__ == '__main__':
     # add current dir to python search path
     cmd_folder = os.path.join(os.path.abspath(OVERLAY_DIR), '..')
     sys.path.insert(0, cmd_folder)
-    os.environ['WORKSPACE']=cmd_folder  # needed by kernel_persistence
+    os.environ['WORKSPACE']=os.path.join(os.path.abspath(cmd_folder), '..')  # needed by kernel_persistence
     import kernel_persistence