Skip to content

Commit

Permalink
kconfig: use POSIX equality test in check-lxdialog.sh
Browse files Browse the repository at this point in the history
The "==" operator is not in POSIX, so use -eq instead.

Signed-off-by: Mike Frysinger <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
  • Loading branch information
vapier authored and sravnborg committed Jul 16, 2007
1 parent cb3ed5b commit e99c343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/kconfig/lxdialog/check-lxdialog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ usage() {
printf "Usage: $0 [-check compiler options|-header|-library]\n"
}

if [ $# == 0 ]; then
if [ $# -eq 0 ]; then
usage
exit 1
fi
Expand Down

0 comments on commit e99c343

Please sign in to comment.