We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509d9de commit 79c82f0Copy full SHA for 79c82f0
tools/download_files.sh
@@ -9,7 +9,7 @@ set -euo pipefail
9
IFS=$'\n\t'
10
11
if [[ $# -lt 2 ]]; then
12
- echo "Usage: $0 <output_dir> <file_url> [file_url]..."
+ echo "Usage: $0 <output_dir> <file_url> [file_url]..." 1>&2
13
exit 1
14
fi
15
@@ -18,7 +18,7 @@ shift
18
19
# Check output directory exists, create it if needed
20
if [[ -e "$OUT_DIR" && ! -d "$OUT_DIR" ]]; then
21
- echo "Path \"$OUT_DIR\" already exists and it is not a directory, aborting"
+ echo "Path \"$OUT_DIR\" already exists and it is not a directory, aborting" 1>&2
22
exit 2
23
elif [[ ! -e "$OUT_DIR" ]]; then
24
mkdir -p "$OUT_DIR"
0 commit comments