Skip to content

Commit 35b05eb

Browse files
committed
removes unused variable
1 parent 4c90d40 commit 35b05eb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: tasks/download.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ verify-file() {
3535
}
3636

3737
download() {
38-
local tmp_file_name="pe-tmp-file"
39-
4038
printf '%s\n' "Downloading: ${1}"
4139
tmp_file=$(mktemp "peadm-download")
4240
echo "Temporary file created at: ${tmp_file}"
@@ -45,7 +43,7 @@ download() {
4543
mv "${tmp_file}" "$2"
4644
else
4745
echo "Puppet Enterprise download failed: Invalid tarball"
48-
echo "|_ Temporary: ${tmp_file}"
46+
echo "|_ Removing temporary file: ${tmp_file}"
4947
rm "${tmp_file}"
5048
fi
5149
}

0 commit comments

Comments
 (0)