diff --git a/setup/cli/modules/unpack.php b/setup/cli/modules/unpack.php index 3c66703ef90e0f63d23b2e10aa26e84f6948a35a..318ac1d7d0ec4991a954c1173384d2237a744836 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");