summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-11 04:35:11 +0000
committermidipix <writeonce@midipix.org>2021-06-11 04:35:11 +0000
commitf081b6f7169e3986359499b1b14f2e723b1c8b74 (patch)
tree9578786c9be0ccfee3b4bb01c815fc7393a78704
parent799bfafd4246c7b348ce9f44023fe7ce09bd42da (diff)
downloadbautomake-f081b6f7169e3986359499b1b14f2e723b1c8b74.tar.bz2
bautomake-f081b6f7169e3986359499b1b14f2e723b1c8b74.tar.xz
config.guess: refactor sub-shell invocation
-rwxr-xr-xsrc/config.guess2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.guess b/src/config.guess
index dd6bd39..ccf5c3e 100755
--- a/src/config.guess
+++ b/src/config.guess
@@ -113,7 +113,7 @@ mb_cc_for_build="${CC_FOR_BUILD:-false}"
# try
for mb_cc_guess in "$mb_native_cc" "$mb_cc_for_build" c99 cc ucc gcc clang cparser; do
- mb_target=$($mb_cc_guess -dumpmachine 2> /dev/null) || true
+ mb_target=$($mb_cc_guess -dumpmachine 2>/dev/null || true)
if [ -n "$mb_target" ]; then
config_output