summaryrefslogtreecommitdiffstats
path: root/lib/buildsystem/autoconf.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-02-26 14:30:28 (EST)
committer P. J. McDermott <pjm@nac.net>2014-02-26 14:30:28 (EST)
commit079946533905442c8a0fa1a25b76c99462e21b46 (patch)
tree3141dcbd119893bbfedc3647d4c44d337fd2840f /lib/buildsystem/autoconf.sh
parent7e3a86e5195282ad42154449e7f409ba9f62c439 (diff)
lib/buildsystem/*.sh: Improve more [ commands.
Diffstat (limited to 'lib/buildsystem/autoconf.sh')
-rw-r--r--lib/buildsystem/autoconf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/buildsystem/autoconf.sh b/lib/buildsystem/autoconf.sh
index 232ca0d..a2cbc23 100644
--- a/lib/buildsystem/autoconf.sh
+++ b/lib/buildsystem/autoconf.sh
@@ -42,7 +42,7 @@ _oh_autoconf_configure()
--host=$(oh_buildsystem_arch \
"${OPK_HOST_ARCH}" 'autoconf')"
fi
- if [ -n "${_OH_BUILDSYSTEM_TARGET_ARCH}" ]; then
+ if [ "x${_OH_BUILDSYSTEM_TARGET_ARCH+set}" = 'xset' ]; then
arch_opts="${arch_opts}
--target=$(oh_buildsystem_arch \
"${_OH_BUILDSYSTEM_TARGET_ARCH}" 'autoconf')"