mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
cleanup unneeded cd and rm commands
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user