Skip to contentSkip to conversation

kconfig: use POSIX equality test in check-lxdialog.sh

PATCH In review Sam Ravnborg 1 participant 1 message Jun 3, 2007 Kconfig

lore
Share & tools
lore
#0 lore raw

PATCH 9/19 kconfig: use POSIX equality test in check-lxdialog.sh

Subject: [PATCH 09/19] kconfig: use POSIX equality test in check-lxdialog.sh
From: Mike Frysinger <[email protected]>
Date: Wed, 23 May 2007 21:37:45 -0400

The "==" operator is not in POSIX, so use -eq instead.

---
 scripts/kconfig/lxdialog/check-lxdialog.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/kconfig/lxdialog/check-lxdialog.sh +1 -1
index cdca738..9681476 100644
@@ -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
Signature · 4 lines
1.5.1.rc3.1544.g8a923


----- End forwarded message -----