From 64a6ed4372363169afa578e77982b23f3f2a36de Mon Sep 17 00:00:00 2001 From: Xav Paice Date: Tue, 8 Dec 2015 15:37:14 +1300 Subject: [PATCH] Add quotes to package install postinstall_dependencies (and probably others) need to have the version specified with == otherwise the command fails due to < and > being known as redirects. This adds quotes round the package name, so that bash doesn't do that. --- giftwrap/openstack_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/giftwrap/openstack_project.py b/giftwrap/openstack_project.py index 9dd0092..cc5d672 100644 --- a/giftwrap/openstack_project.py +++ b/giftwrap/openstack_project.py @@ -24,7 +24,7 @@ DEFAULT_GITURL = { 'stackforge': 'https://github.com/stackforge/' } DEFAULT_VENV_COMMAND = "virtualenv --no-wheel ." -DEFAULT_INSTALL_COMMAND = "./bin/pip install %s" # noqa +DEFAULT_INSTALL_COMMAND = "./bin/pip install '%s'" # noqa TEMPLATE_VARS = ('name', 'version', 'gitref', 'stackforge')