]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Fixing bin/create-vmware-template
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 20 Mar 2018 14:08:58 +0000 (15:08 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 20 Mar 2018 14:08:58 +0000 (15:08 +0100)
bin/create-vmware-template

index 2a08f177c59c759dfbfeb85de975c41d36fa3c61..0f0289bce8500cbaf85d2c2002f5580672c9802d 100755 (executable)
@@ -18,7 +18,7 @@ base_dir = os.path.abspath(os.path.join(bin_dir, '..'))
 lib_dir = os.path.join(base_dir, 'lib')
 module_dir = os.path.join(lib_dir, 'cr_vmware_tpl')
 if os.path.exists(module_dir):
-    sys.path.insert(0, base_dir)
+    sys.path.insert(0, lib_dir)
 
 from cr_vmware_tpl.app import CrTplApplication