diff python/install_config.py @ 44:fc4b830a61e8

* make all subdirectories * resuse variable
author Jeff Hammel <k0scist@gmail.com>
date Fri, 26 Mar 2010 14:00:35 -0700
parents ff7f771a9baf
children 3d0ec6eb83fb
line wrap: on
line diff
--- a/python/install_config.py	Fri Mar 26 13:56:34 2010 -0700
+++ b/python/install_config.py	Fri Mar 26 14:00:35 2010 -0700
@@ -38,8 +38,8 @@
     src = 'http://k0s.org/hg/%s' % package
     directory = '%s/src/%s' % (package, package)
     commands = [ ['virtualenv/virtualenv.py', package],
-                 ['mkdir', directory ],
-                 ['hg', 'clone', src, '%s/src/%s' % (package, package)] ]
+                 ['mkdir', '-p', directory ],
+                 ['hg', 'clone', src, directory] ]
     execute(*commands)
     old_directory = os.getcwd()
     os.chdir(directory)