AOEpeople / mpmd

Magento Project Mess Detector (for n98-magerun)
181 stars 26 forks source link

diff not filled on smartos #17

Open NicolasDepoilly opened 7 years ago

NicolasDepoilly commented 7 years ago

Hi,

Well done for your initiative on this project. However, I have an empty diff and plenty of logs when I run commands on my preprod server running on smartOS :

~/magerun/n98-magerun.phar | grep mpmd
mpmd mpmd:codepooloverrides Find all code pool overrides mpmd:corehacks Find all core hacks mpmd:dependencycheck Find dependencies mpmd:dependencycheck:configured Returns the list of modules that are CONFIGURED in these module's config xml. mpmd:dependencycheck:graph:class Creates a class graph mpmd:dependencycheck:graph:configured Creates a graph of all configured depencencies. mpmd:dependencycheck:graph:module Creates a module graph mpmd:dependencycheck:verify Checks if found dependencies match a given module's xml file ~/magerun/n98-magerun.phar mpmd:corehacks ~/magerun/1.4.1.1 ~/magerun/reports/corehacks.html Comparing project files in '/preprod/magento' to vanilla Magento code in '/magerun/1.4.1.1'... +-----------------------+-------+ | Type | Count | +-----------------------+-------+ | differentFileContent | 171 | | identicalFiles | 8312 | | fileMissingInB | 6 | | sameFileButComments | 0 | | sameFileButWhitespace | 819 | +-----------------------+-------+ diff: illegal option -- B usage: diff [-bitw] [-c | -e | -f | -h | -n | -u] file1 file2 diff [-bitw] [-C number | -U number] file1 file2 diff [-bitw] [-D string] file1 file2 diff [-bitw] [-c | -e | -f | -h | -n | -u] [-l] [-r] [-s] [-S name] directory1 directory2 diff: illegal option -- B usage: diff [-bitw] [-c | -e | -f | -h | -n | -u] file1 file2 diff [-bitw] [-C number | -U number] file1 file2 diff [-bitw] [-D string] file1 file2 diff [-bitw] [-c | -e | -f | -h | -n | -u] [-l] [-r] [-s] [-S name] directory1 directory2 ..... usage: diff [-bitw] [-c | -e | -f | -h | -n | -u] file1 file2 diff [-bitw] [-C number | -U number] file1 file2 diff [-bitw] [-D string] file1 file2 diff [-bitw] [-c | -e | -f | -h | -n | -u] [-l] [-r] [-s] [-S name] directory1 directory2 diff: illegal option -- B usage: diff [-bitw] [-c | -e | -f | -h | -n | -u] file1 file2 diff [-bitw] [-C number | -U number] file1 file2 diff [-bitw] [-D string] file1 file2 diff [-bitw] [-c | -e | -f | -h | -n | -u] [-l] [-r] [-s] [-S name] directory1 directory2 Generating detailed HTML Report Writing HTML report to: /magerun/reports/corehacks.html

As you can see, diff command haven't all attributes here. I will try to launch those commands on my computer instead of in preprod machine, but I just wanted to report this in case you want to fix it.

Thanks

Nicolas DEPOILLY