Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Schaper <dan.schaper@pi-hole.net>2022-04-20 20:21:24 +0300
committerGitHub <noreply@github.com>2022-04-20 20:21:24 +0300
commit71072b4beb0e4356f64e3f24f5524c878d1cb756 (patch)
treef65803d5c144d4511869301b4378fa7882d1147f /automated install
parent9840148ba95678c7b9316e171fd2a4659a88c1d3 (diff)
Stickler quoting
Diffstat (limited to 'automated install')
-rwxr-xr-xautomated install/basic-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh
index 79b6d1fa..5bf4dedf 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 $(which sh) | grep -E '^\s*/lib' | awk '{ print $1 }')
+ lib=$(ldd "$(which sh)" | 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