From ef3ba54c9c743a483b2f869fef2df1b67f4f1714 Mon Sep 17 00:00:00 2001 From: Adam Feuer Date: Mon, 6 Jul 2020 12:34:41 -0700 Subject: [PATCH] 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 664579d8be1..c1fb6cfd57e 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"