support removal of env from parent
authorSam <sam.saffron@gmail.com>
Tue, 9 Feb 2016 21:59:39 +0000 (08:59 +1100)
committerSam <sam.saffron@gmail.com>
Tue, 9 Feb 2016 21:59:39 +0000 (08:59 +1100)
launcher

index 8600848c5a27d993573065cdece02094d25af5f4..72ea66c08a392576f6ca423bd3d643859a9f7d37 100755 (executable)
--- 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