diff options
author | spmfox <spmfox@foxwd.com> | 2022-04-16 23:25:33 +0300 |
---|---|---|
committer | spmfox <spmfox@foxwd.com> | 2022-04-16 23:46:07 +0300 |
commit | 2601162243028115768878f3bb0f5ec8fdde8393 (patch) | |
tree | 5b8178b26f07161044547c4b22d9fa4f22a969ab /automated install/basic-install.sh | |
parent | 9356d7bbb122f3c69fc97a2b3aff828944ef84d6 (diff) |
Changed ldd binary check from /bin/ls to /usr/bin/bash
Signed-off-by: spmfox <spmfox@foxwd.com>
Diffstat (limited to 'automated install/basic-install.sh')
-rwxr-xr-x | automated install/basic-install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index e1683993..ced6ff2a 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -2216,7 +2216,7 @@ get_binary_name() { local rev rev=$(uname -m | sed "s/[^0-9]//g;") local lib - lib=$(ldd /bin/ls | grep -E '^\s*/lib' | awk '{ print $1 }') + lib=$(ldd /bin/bash | grep -E '^\s*/lib' | awk '{ print $1 }') if [[ "${lib}" == "/lib/ld-linux-aarch64.so.1" ]]; then printf "%b %b Detected AArch64 (64 Bit ARM) processor\\n" "${OVER}" "${TICK}" # set the binary to be used |