From 7e67a70da06d64982969cc60e2240f47161bcbc9 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Fri, 13 Aug 2021 19:59:02 +0000 Subject: [PATCH] show_config: remove a subshell Signed-off-by: Ian Leonard --- config/show_config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/show_config b/config/show_config index ea0fabf6fd..4a6e18a889 100644 --- a/config/show_config +++ b/config/show_config @@ -6,7 +6,12 @@ show_config() { dashes="===========================" config_message="\n $dashes$dashes$dashes" - config_message+="\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community"))" + config_message+="\n Configuration for $DISTRONAME " + if [ "$OFFICIAL" = "yes" ]; then + config_message+="(official)" + else + config_message+="(community)" + fi config_message+="\n $dashes$dashes$dashes" # Build options