This is an automated email from the ASF dual-hosted git repository.

yuanz pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git

commit 519849766768109ac4a5240cf3848873693c6c45
Author: Thomas Hebb <t...@meta.com>
AuthorDate: Fri Apr 21 15:20:49 2023 -0400

    setup.sh: fix up whitespace
---
 setup.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/setup.sh b/setup.sh
index 9ea2408..e0b2547 100755
--- a/setup.sh
+++ b/setup.sh
@@ -65,13 +65,13 @@ then
                mkdir -p $OPTEE_DIR/$submodule && \
                        tar zxf $OPTEE_DIR/$OPTEE_RELEASE_VERSION.tar.gz \
                        -C $OPTEE_DIR/$submodule --strip-components 1
-               if [ ! $? -eq 0 ]
+               if [ ! $? -eq 0 ]
                then
                        rm $OPTEE_DIR/$OPTEE_RELEASE_VERSION.tar.gz && \
                                rm -r $OPTEE_DIR/$submodule && \
                                echo "Downloaded file is damaged" && \
                                exit 1
-               fi
+               fi
                rm $OPTEE_DIR/$OPTEE_RELEASE_VERSION.tar.gz
        done
        echo "Download finished"
@@ -88,7 +88,7 @@ LIBC_COMMIT_ID=1ddfbbbc190bec0f5ec32b08e97585b34d0c6b09
 
 if [ -d rust/ ]
 then
-        rm -r rust/
+       rm -r rust/
 fi
 
 mkdir rust && cd rust


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@teaclave.apache.org
For additional commands, e-mail: commits-h...@teaclave.apache.org

Reply via email to