From 4bddb3954c93af16eadfff972abceede19d1aaa2 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 8 May 2016 14:59:20 -0400 Subject: [PATCH] trim whitespace from url --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index 739f477..2b9cdc1 100755 --- a/functions +++ b/functions @@ -334,7 +334,7 @@ service_version() { get_url_from_config() { local EXISTING_CONFIG="$1" local CONFIG_VAR="$2" - echo "$EXISTING_CONFIG" | grep "$CONFIG_VAR" | sed "s/$CONFIG_VAR:\s*//" + echo "$EXISTING_CONFIG" | grep "$CONFIG_VAR" | sed "s/$CONFIG_VAR:\s*//" | xargs } promote() {