# HG changeset patch
# User Peter Kovacs <kpeter@inf.elte.hu>
# Date 1238135058 -3600
# Node ID 6b9c1f6eb1e59df76872f7ea0cca2793553acf64
# Parent 56a86a363c12173a5163e28960887eb8a0f3e04c
Bug fix in unify-sources.sh (#245)
diff --git a/scripts/unify-sources.sh b/scripts/unify-sources.sh
a
|
b
|
|
88 | 88 | function check_action() { |
89 | 89 | if [ "$3" == 'tabs' ] |
90 | 90 | then |
91 | | PATTERN=$(echo -e '\t') |
| 91 | if echo $2 | grep -q -v -E 'Makefile\.am$' |
| 92 | then |
| 93 | PATTERN=$(echo -e '\t') |
| 94 | else |
| 95 | PATTERN=' ' |
| 96 | fi |
92 | 97 | elif [ "$3" == 'trailing spaces' ] |
93 | 98 | then |
94 | 99 | PATTERN='\ +$' |