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

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit ef3ba54c9c743a483b2f869fef2df1b67f4f1714
Author: Adam Feuer <[email protected]>
AuthorDate: Mon Jul 6 12:34:41 2020 -0700

    cleanup unneeded cd and rm commands
---
 tools/checkrelease.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/checkrelease.sh b/tools/checkrelease.sh
index 664579d..c1fb6cf 100755
--- a/tools/checkrelease.sh
+++ b/tools/checkrelease.sh
@@ -27,7 +27,6 @@ ORIGINAL_DIR="$(pwd)"
 trap "rm -rf $TEMPDIR" EXIT
 
 function download_release() {
-    rm -rf "$TEMPDIR"
     wget -r -np -R "index.html*" -P . --cut-dirs 7 "$URL"
     cd "$TEMPDIR"
 }
@@ -126,4 +125,3 @@ fi
 download_release
 check_nuttx 
 check_nuttx_apps 
-cd "$ORIGINAL_DIR"

Reply via email to