changeset 554 | 6b9c1f6eb1e5 |
parent 396 | c5f010a5647a |
child 628 | 586b65073025 |
1.1 --- a/scripts/unify-sources.sh Thu Mar 19 15:41:29 2009 +0000 1.2 +++ b/scripts/unify-sources.sh Fri Mar 27 07:24:18 2009 +0100 1.3 @@ -88,7 +88,12 @@ 1.4 function check_action() { 1.5 if [ "$3" == 'tabs' ] 1.6 then 1.7 - PATTERN=$(echo -e '\t') 1.8 + if echo $2 | grep -q -v -E 'Makefile\.am$' 1.9 + then 1.10 + PATTERN=$(echo -e '\t') 1.11 + else 1.12 + PATTERN=' ' 1.13 + fi 1.14 elif [ "$3" == 'trailing spaces' ] 1.15 then 1.16 PATTERN='\ +$'