summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_common.sh
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-01-18 20:58:39 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-01-19 10:53:42 +0100
commit54bfcfb1f4d6362e78404484a4f204f72e88dd00 (patch)
tree853a26706c50b40276a8d9388b9c46213c882e49 /scripts/lib/ptxd_make_world_common.sh
parent0d973eec0bc65819b0b2c05c3b83324d4e8272e1 (diff)
downloadptxdist-54bfcfb1f4d6362e78404484a4f204f72e88dd00.tar.gz
ptxdist-54bfcfb1f4d6362e78404484a4f204f72e88dd00.tar.xz
[ptxd_make_world_common] use -eq instead of = to compare ints
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_common.sh')
-rw-r--r--scripts/lib/ptxd_make_world_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh
index 76a95fcda..141e22a59 100644
--- a/scripts/lib/ptxd_make_world_common.sh
+++ b/scripts/lib/ptxd_make_world_common.sh
@@ -238,7 +238,7 @@ ptxd_make_world_init() {
if [ -e "${pkg_conf_dir}/CMakeLists.txt" ]; then
pkg_conf_tool=${pkg_conf_tool}cmake
fi
- if [ $(ls "${pkg_conf_dir}/"*.pro 2>/dev/null | wc -l) = 1 ]; then
+ if [ $(ls "${pkg_conf_dir}/"*.pro 2>/dev/null | wc -l) -eq 1 ]; then
pkg_conf_tool=${pkg_conf_tool}qmake
fi
fi