Skip to content

Commit

Permalink
append argv to args in system call
Browse files Browse the repository at this point in the history
  • Loading branch information
mobileoverlord committed Jul 11, 2016
1 parent 472ff44 commit ebb757c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mix/tasks/firmware.burn.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Mix.Tasks.Firmware.Burn do
use Mix.Task
import Mix.Nerves.Utils

def run(args) do
def run(argv) do
preflight

Mix.shell.info "Nerves Firmware Burn"
Expand All @@ -23,7 +23,7 @@ defmodule Mix.Tasks.Firmware.Burn do
raise "Firmware for target #{target} not found at #{fw} run `mix firmware` to build"
end

args = ["-a", "-i", fw, "-t", "complete"]
args = ["-a", "-i", fw, "-t", "complete"] ++ argv
cmd =
case :os.type do
{_, :darwin} ->
Expand Down

0 comments on commit ebb757c

Please sign in to comment.