summaryrefslogtreecommitdiff
path: root/functions/architectures.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/architectures.sh')
-rwxr-xr-xfunctions/architectures.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/architectures.sh b/functions/architectures.sh
index bdad4cbc0..aeb298eb3 100755
--- a/functions/architectures.sh
+++ b/functions/architectures.sh
@@ -50,7 +50,7 @@ Check_architectures ()
Check_crossarchitectures ()
{
- if command -v dpkg >/dev/null
+ if [ $(which dpkg) ]
then
HOST="$(dpkg --print-architecture)"
else