tEscape variables in ENV parse. - docker2sh - Convert Dockerfiles into shell scripts
 (HTM) git clone https://git.parazyd.org/docker2sh
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 41faa73154498002471b9f2f8bebac3da1a26faa
 (DIR) parent e884e9bca6c175ce8bb25dfa965018230f82adff
 (HTM) Author: parazyd <parazyd@dyne.org>
       Date:   Wed, 20 Nov 2019 15:58:53 +0100
       
       Escape variables in ENV parse.
       
       Diffstat:
         M docker2sh.py                        |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) diff --git a/docker2sh.py b/docker2sh.py
       t@@ -80,6 +80,7 @@ def parse_instruction(inst, dfile=None):
                cmds.remove(ins)
                if '=' not in val:
                    val = val.replace(' ', '=', 1)
       +        val = val.replace('$', '\\$')
                return 'export %s\n' % val
        
            if ins == 'RUN':