summaryrefslogtreecommitdiffstats
path: root/src/ob-buildenv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ob-buildenv.sh')
-rw-r--r--src/ob-buildenv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh
index e224c54..dd16146 100644
--- a/src/ob-buildenv.sh
+++ b/src/ob-buildenv.sh
@@ -43,7 +43,7 @@ setup_toolchain()
{
# This check is done to allow at least native building on unsupported OSes.
# It may be removed in the future.
- if [ "${OPK_BUILD_ARCH}" != "${OPK_HOST_ARCH}" ]; then
+ if [ x"${OPK_BUILD_ARCH}" != x"${OPK_HOST_ARCH}" ]; then
tool_prefix="${OPK_HOST_ARCH}-"
else
tool_prefix=''