Skip to content

Commit c6dd8c9

Browse files
committed
Prefer [ p ] && [ q ] as [ p -a q ] is not well defined
1 parent ed77c9c commit c6dd8c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustup-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ get_architecture() {
312312
fi
313313

314314
# Detect 64-bit linux with 32-bit userland for powerpc
315-
if [ $_ostype = unknown-linux-gnu -a $_cputype = powerpc64 ]; then
315+
if [ $_ostype = unknown-linux-gnu ] && [ $_cputype = powerpc64 ]; then
316316
if [ "$(get_bitness)" = "32" ]; then
317317
local _cputype=powerpc
318318
fi

0 commit comments

Comments
 (0)