Skip to content

Commit 4965f43

Browse files
mcka1nreidmv
andauthored
removes the name argument from mktemp
Co-authored-by: Reid Vandewiele <[email protected]>
1 parent 87342b4 commit 4965f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/download.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ verify-file() {
3636

3737
download() {
3838
printf '%s\n' "Downloading: ${1}"
39-
tmp_file=$(mktemp "peadm-download.XXX")
39+
tmp_file=$(mktemp)
4040
echo "Temporary file created at: ${tmp_file}"
4141

4242
if curl -s -f -L -o ${tmp_file} "$1"; then

0 commit comments

Comments
 (0)