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 |
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 --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