Last active
August 29, 2015 14:26
-
-
Save aleron75/f4ed6aa195228d2fd370 to your computer and use it in GitHub Desktop.
Checks whether Magento core files were changed against a vanilla installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Requirements: patchutils - Utilities to work with patches | |
# Credits: http://inchoo.net/magento/quickly-check-if-magento-core-files-are-modified/ | |
if [ $# -ne 2 ]; then | |
echo "Usage:" | |
echo "heydidyoujusteditthecore.sh <default_sacred_core_folder> <clients_core_folder>" | |
exit 1 | |
fi | |
default_sacred_core_folder="$1" | |
clients_core_folder="$2" | |
diff -urbB $default_sacred_core_folder $clients_core_folder | lsdiff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment