diff options
author | P. J. McDermott <pjm@nac.net> | 2014-02-26 20:44:42 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2014-02-26 20:44:42 (EST) |
commit | 17061e3aae882fb5ebb73a620fab720100623d10 (patch) | |
tree | f4bfe789e7b74b750d0f3d7c4246c57522de7305 /lib/buildsystem/autoconf.sh | |
parent | 8558cf4b5a286ca3f00441bdc79eeb41b1112e3e (diff) |
lib/buildsystem/*.sh: Fix more [ commands.
Diffstat (limited to 'lib/buildsystem/autoconf.sh')
-rw-r--r-- | lib/buildsystem/autoconf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/buildsystem/autoconf.sh b/lib/buildsystem/autoconf.sh index a2cbc23..7ec8938 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 [ "x${_OH_BUILDSYSTEM_TARGET_ARCH+set}" = 'xset' ]; then + if [ "x${_OH_BUILDSYSTEM_TARGET_ARCH}" != 'x' ]; then arch_opts="${arch_opts} --target=$(oh_buildsystem_arch \ "${_OH_BUILDSYSTEM_TARGET_ARCH}" 'autoconf')" |