From b68a2363769398f15f9adc754c7a7704d20bf8c3 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Wed, 19 Jun 2013 10:45:25 -0500 Subject: [PATCH] Make the Unpacker arguments extensible Turns out that the $args passed into the run() method of the Unpacker are not correctly utilized and so, it is not correctly extensible --- setup/cli/modules/unpack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/cli/modules/unpack.php b/setup/cli/modules/unpack.php index 3c66703ef..318ac1d7d 100644 --- a/setup/cli/modules/unpack.php +++ b/setup/cli/modules/unpack.php @@ -144,7 +144,7 @@ class Unpacker extends Module { } function run($args, $options) { - $this->destination = $this->getArgument('install-path'); + $this->destination = $args['install-path']; if (!is_dir($this->destination)) if (!mkdir($this->destination, 0751, true)) die("Destination path does not exist and cannot be created"); -- GitLab