Skip to content

Commit e99c343

Browse files
vapiersravnborg
authored andcommitted
kconfig: use POSIX equality test in check-lxdialog.sh
The "==" operator is not in POSIX, so use -eq instead. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
1 parent cb3ed5b commit e99c343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/kconfig/lxdialog/check-lxdialog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ usage() {
5151
printf "Usage: $0 [-check compiler options|-header|-library]\n"
5252
}
5353

54-
if [ $# == 0 ]; then
54+
if [ $# -eq 0 ]; then
5555
usage
5656
exit 1
5757
fi

0 commit comments

Comments
 (0)