Skip to content

Commit 8a9f8cc

Browse files
committed
Merge branch 'add_download_script' of github.com:FGasper/mongosh into add_download_script
2 parents e8d4af8 + 50bddd8 commit 8a9f8cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ variable. For detailed instructions for each of our supported platforms, please
2525
You can also run `download_latest.sh` to download a `mongosh` binary. You can use
2626
this script without cloning the repository thus:
2727
```
28-
curl -sSL https://raw.githubusercontent.com/mongodb-js/mongosh/refs/heads/main/download_latest.sh | sh
28+
curl -fsSL https://raw.githubusercontent.com/mongodb-js/mongosh/refs/heads/main/download_latest.sh | sh
2929
```
3030

3131
## CLI Usage

download_latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ case "$ext" in
6262
file=$(mktemp)
6363

6464
echo "Downloading $url to $file"
65-
trap 'rm -f $file' EXIT
65+
trap 'rm -f "$file"' EXIT
6666

6767
curl -fsSL "$url" > "$file"
6868
echo "Downloaded $ext file; extracting mongosh …"

0 commit comments

Comments
 (0)