changeset 571 | d5c39e9d1a4e |
parent 396 | c5f010a5647a |
child 628 | 586b65073025 |
7:d3d33b5b2120 | 9:d2a57ef2fd25 |
---|---|
86 } |
86 } |
87 |
87 |
88 function check_action() { |
88 function check_action() { |
89 if [ "$3" == 'tabs' ] |
89 if [ "$3" == 'tabs' ] |
90 then |
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 elif [ "$3" == 'trailing spaces' ] |
97 elif [ "$3" == 'trailing spaces' ] |
93 then |
98 then |
94 PATTERN='\ +$' |
99 PATTERN='\ +$' |
95 else |
100 else |
96 PATTERN='*' |
101 PATTERN='*' |