Skip to content

Commit

Permalink
Merge pull request #6483 from JediKev/issue/mPDF-font-files
Browse files Browse the repository at this point in the history
Reviewed-By: Jedikev <kevin@enhancesoft.com>, protich <peter@osticket.com>
  • Loading branch information
protich committed Mar 8, 2023
2 parents 516b6e7 + 427a8aa commit e43cc79
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/cli/modules/deploy.php
Expand Up @@ -205,7 +205,13 @@ function unpackage($folder, $destination, $recurse=0, $exclude=false) {
$verbose = $this->getOption('verbose') || $dryrun;
$force = $this->getOption('force');
while ($line = stream_get_line($pipes[1], 255, "\x00")) {
list($mode, $hash, , $path) = preg_split('/\s+/', $line);
list($mode, $hash, , $path, $pathx, $pathy, $pathz) = preg_split('/\s+/', $line);
if (isset($pathx))
$path = "$path $pathx";
if (isset($pathy))
$path = "$path $pathy";
if (isset($pathz))
$path = "$path $pathz";
$src = $source.$local.$path;
if ($this->exclude($exclude, $src))
continue;
Expand Down

0 comments on commit e43cc79

Please sign in to comment.