Commit 407e6bee authored by Paul Eggert's avatar Paul Eggert
Browse files

* indent/shell.sh (bar): Use '[ $# -eq 0 ]', not '[ $# == 0 ]'.

This is more portable in shell scripts.
Fixes: bug#19658
parent f6ef8365
2015-01-25 Paul Eggert <eggert@cs.ucla.edu>
* indent/shell.sh (bar): Use '[ $# -eq 0 ]', not '[ $# == 0 ]'.
This is more portable in shell scripts.
Fixes: bug#19658
2015-01-23 Dmitry Gutov <dgutov@yandex.ru> 2015-01-23 Dmitry Gutov <dgutov@yandex.ru>
Fix package tests when TMPDIR is in HOME. (Bug#19657) Fix package tests when TMPDIR is in HOME. (Bug#19657)
......
...@@ -152,7 +152,7 @@ help2 ...@@ -152,7 +152,7 @@ help2
EOF2 EOF2
} }
bar () { bar () {
if [ $# == 0 ]; then if [ $# -eq 0 ]; then
while while
f # KNOWN INDENT BUG f # KNOWN INDENT BUG
do do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment