From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (localhost [65.103.231.193]) by mx.groups.io with SMTP id smtpd.web10.83.1600982553469114529 for ; Thu, 24 Sep 2020 14:22:33 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: localhost, ip: 65.103.231.193, mailfrom: rebecca@localhost) Received: by localhost (Postfix, from userid 1000) id BA54940FB524; Thu, 24 Sep 2020 15:22:02 -0600 (MDT) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Eric Jin , G Edhaya Chandran , Samer El-Haj-Mahmoud , Rebecca Cran Subject: [edk2-test] [PATCH 3/3] uefi-sct/SctPkg: Fix some indentation issues in build.sh Date: Thu, 24 Sep 2020 15:21:31 -0600 Message-Id: <20200924212131.22982-3-rebecca@nuviainc.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200924212131.22982-1-rebecca@nuviainc.com> References: <20200924212131.22982-1-rebecca@nuviainc.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable build.sh contains a mixture of tabs and spaces, with differing numbers of spaces used for indents. Update it so any single block only uses one style of indentation. Signed-off-by: Rebecca Cran --- uefi-sct/SctPkg/build.sh | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/uefi-sct/SctPkg/build.sh b/uefi-sct/SctPkg/build.sh index be610deb..37667711 100755 --- a/uefi-sct/SctPkg/build.sh +++ b/uefi-sct/SctPkg/build.sh @@ -56,9 +56,9 @@ function get_gcc_version { gcc_version=3D$($1 -dumpversion) =20 - if [ ${gcc_version%%.*} -gt 5 ]; then - gcc_version=3D5 - fi + if [ ${gcc_version%%.*} -gt 5 ]; then + gcc_version=3D5 + fi =20 case $gcc_version in 4.6*|4.7*|4.8*|4.9*|5*) @@ -152,10 +152,9 @@ case `uname` in ;; =09 GCC* | gcc*) - set_cross_compile - CROSS_COMPILE=3D"$TEMP_CROSS_COMPILE" - export TARGET_TOOLS=3D`get_gcc_version "$CROSS_COMPILE"gcc` - + set_cross_compile + CROSS_COMPILE=3D"$TEMP_CROSS_COMPILE" + export TARGET_TOOLS=3D`get_gcc_version "$CROSS_COMPILE"gcc` ;; =20 *) @@ -224,7 +223,7 @@ then status=3D$? if test $status -ne 0 then - echo Error while building EDK tools + echo Error while building EDK tools exit -1 fi else @@ -239,7 +238,7 @@ make -C SctPkg/Tools/Source/GenBin status=3D$? if test $status -ne 0 then -echo Error while building GenBin + echo Error while building GenBin exit -1 fi =20 @@ -258,8 +257,8 @@ build -p SctPkg/UEFI/UEFI_SCT.dsc -a $SCT_TARGET_ARCH= -t $TARGET_TOOLS -b $SCT_B status=3D$? if test $status -ne 0 then -echo Could not build the UEFI SCT package - exit -1 + echo Could not build the UEFI SCT package + exit -1 fi =20 build -p SctPkg/UEFI/IHV_SCT.dsc -a $SCT_TARGET_ARCH -t $TARGET_TOOLS -b= $SCT_BUILD $3 $4 $5 $6 $7 $8 $9 @@ -268,8 +267,8 @@ build -p SctPkg/UEFI/IHV_SCT.dsc -a $SCT_TARGET_ARCH = -t $TARGET_TOOLS -b $SCT_BU status=3D$? if test $status -ne 0 then -echo Could not build the IHV SCT package - exit -1 + echo Could not build the IHV SCT package + exit -1 fi =20 =20 @@ -299,8 +298,8 @@ pwd status=3D$? if test $status -ne 0 then -echo Could not generate UEFI SCT binary - exit -1 + echo Could not generate UEFI SCT binary + exit -1 else echo The SCT binary "SctPackage${SCT_TARGET_ARCH}" is located at "$EFI_S= OURCE/Build/UefiSct/${SCT_BUILD}_${TARGET_TOOLS}" fi @@ -315,8 +314,8 @@ pwd status=3D$? if test $status -ne 0 then -echo Could not generate IHV SCT binary - exit -1 + echo Could not generate IHV SCT binary + exit -1 else echo The IHV binary "SctPackage${SCT_TARGET_ARCH}" is located at "$EFI_S= OURCE/Build/IhvSct/${SCT_BUILD}_${TARGET_TOOLS}" fi --=20 2.26.2