diff -r 56a86a363c12 -r 6b9c1f6eb1e5 scripts/unify-sources.sh --- a/scripts/unify-sources.sh Thu Mar 19 15:41:29 2009 +0000 +++ b/scripts/unify-sources.sh Fri Mar 27 07:24:18 2009 +0100 @@ -88,7 +88,12 @@ function check_action() { if [ "$3" == 'tabs' ] then - PATTERN=$(echo -e '\t') + if echo $2 | grep -q -v -E 'Makefile\.am$' + then + PATTERN=$(echo -e '\t') + else + PATTERN=' ' + fi elif [ "$3" == 'trailing spaces' ] then PATTERN='\ +$'