Skip to content

Commit f889c31

Browse files
committed
Really horrible bodge. I'm so sorry to the world
1 parent 6c0b201 commit f889c31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/build.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,9 @@ function clean_composer(string $dir)
453453
$doNotPatchFile = in_array(trim($fileName), $doNotPatch);
454454
$doNotPackageBaseFolder = in_array($baseFolderName, $doNotPackage);
455455
$doNotPatchBaseFolder = in_array($baseFolderName, $doNotPatch);
456+
$dirtyHackForMediaCheck = in_array($folderPath[0] . '/' . $folderPath[1] . '/' . $folderPath[2] . '/' . $folderPath[3], 'administrator/components/com_media/resources');
456457

457-
if ($doNotPackageFile || $doNotPatchFile || $doNotPackageBaseFolder || $doNotPatchBaseFolder)
458+
if ($dirtyHackForMediaCheck || $doNotPackageFile || $doNotPatchFile || $doNotPackageBaseFolder || $doNotPatchBaseFolder)
458459
{
459460
continue;
460461
}

0 commit comments

Comments
 (0)