module.exports.movePlugins = function (src, dest) {
  var exec = require('child_process').exec
  console.log(`Copying ${src} to ${dest}`)
  exec(`rm -rf ${dest}${src}`, function (error) {
    if (error) {
      console.error(`exec error: ${error}`)
    } else {
      exec(`cp -r ${src} ${dest}`, function (error, stdout, stderr) {
        if (error) {
          console.error(`exec error: ${error}`)
        }
      })
    }
  })
}

module.exports.movePlugins = function (src, dest) {
  var exec = require('child_process').exec
  exec(`rm ${dest}${src} -rf`, function (error) {
    if (error) console.error(`exec error: ${error}`)
    exec(`cp -r ${src} ${dest}`, function (error, stdout, stderr) {
      if (error) console.error(`exec error: ${error}`)
    })
  })
}

Revert "fixed possible bug & Mac OSX compatibility issue with rm"
Revert "fixed possible bug & Mac OSX compatibility issue with rm"

This reverts commit b4ed13e1cd70025d4b8bb4b29e98334b00bfdbed.
