diff mbox series

[isar-cip-core] scripts/deploy-cip-core.sh: fix style issues

Message ID 20230405071927.600015-1-srinuvasan_a@mentor.com (mailing list archive)
State Accepted
Headers show
Series [isar-cip-core] scripts/deploy-cip-core.sh: fix style issues | expand

Commit Message

Srinuvasan Arjunan April 5, 2023, 7:19 a.m. UTC
From: Srinuvasan A <srinuvasan_a@mentor.com>

Align same coding style with other scripts.

Signed-off-by: Srinuvasan A <srinuvasan_a@mentor.com>
---
 scripts/deploy-cip-core.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Jan Kiszka April 5, 2023, 9:38 a.m. UTC | #1
On 05.04.23 09:19, Srinuvasan Arjunan wrote:
> From: Srinuvasan A <srinuvasan_a@mentor.com>
> 
> Align same coding style with other scripts.
> 
> Signed-off-by: Srinuvasan A <srinuvasan_a@mentor.com>
> ---
>  scripts/deploy-cip-core.sh | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/scripts/deploy-cip-core.sh b/scripts/deploy-cip-core.sh
> index ab98468..b185a84 100755
> --- a/scripts/deploy-cip-core.sh
> +++ b/scripts/deploy-cip-core.sh
> @@ -17,8 +17,8 @@ DTB=$4
>  REF=$5
>  
>  BASE_FILENAME=cip-core-image-cip-core-$RELEASE-$TARGET
> -if [ "${EXTENSION}" != "none" ] ; then
> -	if [ "${EXTENSION}" = "security" ] ; then
> +if [ "${EXTENSION}" != "none" ]; then
> +	if [ "${EXTENSION}" = "security" ]; then
>  		BASE_FILENAME=cip-core-image-$EXTENSION-cip-core-$RELEASE-$TARGET
>  	else
>  		BASE_FILENAME=cip-core-image-cip-core-$RELEASE-$TARGET-$EXTENSION
> @@ -28,7 +28,7 @@ fi
>  BASE_PATH=build/tmp/deploy/images/$TARGET/$BASE_FILENAME
>  S3_TARGET=s3://download2.cip-project.org/cip-core/$REF/$TARGET/
>  
> -if [ -f $BASE_PATH.wic ] ; then
> +if [ -f $BASE_PATH.wic ]; then
>  	echo "Compressing $BASE_FILENAME.wic..."
>  	xz -9 -k -T0 $BASE_PATH.wic
>  

Thanks, applied.

Jan
diff mbox series

Patch

diff --git a/scripts/deploy-cip-core.sh b/scripts/deploy-cip-core.sh
index ab98468..b185a84 100755
--- a/scripts/deploy-cip-core.sh
+++ b/scripts/deploy-cip-core.sh
@@ -17,8 +17,8 @@  DTB=$4
 REF=$5
 
 BASE_FILENAME=cip-core-image-cip-core-$RELEASE-$TARGET
-if [ "${EXTENSION}" != "none" ] ; then
-	if [ "${EXTENSION}" = "security" ] ; then
+if [ "${EXTENSION}" != "none" ]; then
+	if [ "${EXTENSION}" = "security" ]; then
 		BASE_FILENAME=cip-core-image-$EXTENSION-cip-core-$RELEASE-$TARGET
 	else
 		BASE_FILENAME=cip-core-image-cip-core-$RELEASE-$TARGET-$EXTENSION
@@ -28,7 +28,7 @@  fi
 BASE_PATH=build/tmp/deploy/images/$TARGET/$BASE_FILENAME
 S3_TARGET=s3://download2.cip-project.org/cip-core/$REF/$TARGET/
 
-if [ -f $BASE_PATH.wic ] ; then
+if [ -f $BASE_PATH.wic ]; then
 	echo "Compressing $BASE_FILENAME.wic..."
 	xz -9 -k -T0 $BASE_PATH.wic