From 3c833c64919616db5ed45506cfa27775d5c54760 Mon Sep 17 00:00:00 2001 From: Mark Cornick Date: Tue, 2 Oct 2012 12:55:08 -0400 Subject: [PATCH] Fix _chef_environments_remote for current knife output All of these functions need to be fixed, but I'll fix the others in a different branch. --- src/_knife | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_knife b/src/_knife index fb2a120..e914160 100644 --- a/src/_knife +++ b/src/_knife @@ -183,7 +183,7 @@ _chef_data_bags_remote() { } _chef_environments_remote() { - (knife environment list | grep \" | awk '{print $1}' | awk -F"," '{print $1}' | awk -F"\"" '{print $2}') + (knife environment list | awk '{print $1}') } # The chef_x_local functions use the knife config to find the paths of relevant objects x to be uploaded to the server