aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Rendina <mrendina@stsci.edu>2018-11-02 16:47:04 -0400
committerMatt Rendina <rendinam@users.noreply.github.com>2018-11-02 17:12:35 -0400
commit751172cf5952c93036fb915686ece663b87ff2df (patch)
tree985247e1ecbb56e03670f653d721764ed310f455
parentc4b45f86029a7e4582b0850f563ff7662815c5e9 (diff)
downloadjscu_refactor-751172cf5952c93036fb915686ece663b87ff2df.tar.gz
Escape package specs to allow all spec characters to be used.1.2.5
-rw-r--r--vars/utils.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/vars/utils.groovy b/vars/utils.groovy
index 643979b..1dd384c 100644
--- a/vars/utils.groovy
+++ b/vars/utils.groovy
@@ -175,7 +175,7 @@ def run(configs, concurrent = true) {
def conda_prefix = "${conda_root}/envs/${env_name}".trim()
def packages = ""
for (pkg in myconfig.conda_packages) {
- packages = "${packages} ${pkg}"
+ packages = "${packages} '${pkg}'"
}
// Override removes the implicit 'defaults' channel from the channels
// to be used, The conda_channels list is then used verbatim (in