From: Sam Date: Tue, 9 Feb 2016 21:59:39 +0000 (+1100) Subject: support removal of env from parent X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ad202124588c508cb4ca93ceb2caf0fe3cf20161;p=discourse_docker.git support removal of env from parent --- diff --git a/launcher b/launcher index 8600848..72ea66c 100755 --- a/launcher +++ b/launcher @@ -329,6 +329,8 @@ set_template_info() { p e end end + # strip out blank env + env.delete_if{|k,v| v && v.empty?} puts env.map{|k,v| "-e\n#{k}=#{v}" }.join("\n") RUBY