[Pkg-xen-changes] r619 - trunk/xen-common/debian/bin

Bastian Blank waldi at alioth.debian.org
Sun May 10 13:17:43 UTC 2009


Author: waldi
Date: Sun May 10 13:17:43 2009
New Revision: 619

Log:
debian/bin/genorig.py: Don't use shell if not necessary.

Modified:
   trunk/xen-common/debian/bin/genorig.py

Modified: trunk/xen-common/debian/bin/genorig.py
==============================================================================
--- trunk/xen-common/debian/bin/genorig.py	Sun May 10 12:45:38 2009	(r618)
+++ trunk/xen-common/debian/bin/genorig.py	Sun May 10 13:17:43 2009	(r619)
@@ -39,7 +39,7 @@
         if not self.options.tag:
             return
 
-        p = subprocess.Popen('cd %s; hg update -r %s' % (self.repo, self.options.tag), shell=True)
+        p = subprocess.Popen(('hg', 'update', '-r', self.options.tag), cwd=self.repo)
         if p.wait():
             raise RuntimeError
 



More information about the Pkg-xen-changes mailing list