diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-01-18 20:58:39 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-01-19 10:53:42 +0100 |
commit | 54bfcfb1f4d6362e78404484a4f204f72e88dd00 (patch) | |
tree | 853a26706c50b40276a8d9388b9c46213c882e49 /scripts/lib/ptxd_make_world_common.sh | |
parent | 0d973eec0bc65819b0b2c05c3b83324d4e8272e1 (diff) | |
download | ptxdist-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.sh | 2 |
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 |