 .pipe fs.createWriteStream path.join dst, extractor = 'sfx.bat'
 
 openssl = (at)->
+  openssl = 0
   exe = path.join at, cli = 'openssl-cli.exe'
   fs.stat exe, (err)->
     return if err
     console.log "Copying OpenSSL"
+    openssl = spawn.spawnSync exe, ['version']
+      .stdout.toString()
     fs.createReadStream exe
     .pipe fs.createWriteStream path.join dst, cli
 

    out.write crlf "    - #{v}\n"
  out.end crlf """

    See <#{PACKAGE.homepage}> for more information.
  """


fs = require 'fs'
path = require 'path'
spawn = require 'child_process'

yazl = require 'yazl'
mkdirp = require 'mkdirp'
