Skip to content

Commit

Permalink
Include "autoload(_real).php" files in the file integrity check
Browse files Browse the repository at this point in the history
3.6.0 was re-packaged and 3.6.1 released to fix this issue

except the main composer ones which can change from server to server IIRC

fixes matomo-org/matomo#13364  and #77
  • Loading branch information
mattab committed Sep 1, 2018
1 parent 28e99bd commit 2a683a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ function organizePackage() {

find ./ -type f -printf '%s ' -exec md5sum {} \; \
| grep -v "user/.htaccess" \
| egrep -v 'manifest.inc.php|autoload.php|autoload_real.php' \
| egrep -v 'manifest.inc.php|vendor/autoload.php|vendor/composer/autoload_real.php' \
| sed '1,$ s/\([0-9]*\) \([a-z0-9]*\) *\.\/\(.*\)/\t\t"\3" => array("\1", "\2"),/;' \
| sort \
| sed '1 s/^/<?php\n\/\/ This file is automatically generated during the Matomo build process \
Expand Down

0 comments on commit 2a683a8

Please sign in to comment.