Mercurial > mplayer.hg
changeset 31681:7e7c541566ad
cosmetics: Use 'elif' instead of 'else .. if'.
author | diego |
---|---|
date | Sat, 17 Jul 2010 09:19:39 +0000 |
parents | eea755ce8eab |
children | d4ea2e6111aa |
files | help/help_create.sh |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/help/help_create.sh Fri Jul 16 17:45:50 2010 +0000 +++ b/help/help_create.sh Sat Jul 17 09:19:39 2010 +0000 @@ -24,12 +24,9 @@ if grep -q "^#define $curr[ ]" "$TRANSLATION" ; then curr="" fi - else - if [ -z "$line" ]; then - curr="" - fi + elif [ -z "$line" ]; then + curr="" fi - if [ -n "$curr" ]; then printf "%s\n" "$line" fi