diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-04-07 16:28:59 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-04-07 16:28:59 +0300 |
commit | 15d2a9cf3ce65b503c1c5fdbf708bd2a0571999d (patch) | |
tree | cdf1b5e963d76f70e9fc0d4e44df69bff22fc74c /kselftest | |
parent | 0c0accd44895efdfab7efe0d3c78b18aafe18da6 (diff) |
kselftest: fix deb_host_arch variable test
Change-Id: Id8cefb177841eef06290f27862b3e6d91b696191
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'kselftest')
-rwxr-xr-x | kselftest/builders.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kselftest/builders.sh b/kselftest/builders.sh index 6565fd6f1f..6ea4d2b680 100755 --- a/kselftest/builders.sh +++ b/kselftest/builders.sh @@ -8,7 +8,7 @@ fi pkg_list="git libcap-dev libcap-ng-dev libfuse-dev libmount-dev libpopt-dev pkg-config pxz rsync" deb_host_arch=$(dpkg-architecture -qDEB_HOST_ARCH) -[ "deb_host_arch" != "armhf" ] && pkg_list+=" libnuma-dev" +[ "${deb_host_arch}" != "armhf" ] && pkg_list+=" libnuma-dev" if ! sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y ${pkg_list}; then echo "INFO: apt install error - try again in a moment" |