Add suffix to temporary files created by readwwwlog
This commit is contained in:
parent
b73d32a30a
commit
0f1a78a9f7
|
@ -23,7 +23,7 @@ for url in ${urls}; do
|
||||||
|
|
||||||
if curl --silent --location --head ${url} | grep -q 'text/plain'; then
|
if curl --silent --location --head ${url} | grep -q 'text/plain'; then
|
||||||
sleep 1 # dpaste.com workaround
|
sleep 1 # dpaste.com workaround
|
||||||
local file="$(mktemp)"
|
local file="$(mktemp --suffix='.readwwwlog')"
|
||||||
curl --silent --location --output ${file} ${url}
|
curl --silent --location --output ${file} ${url}
|
||||||
${TERMINAL} -e less ${file}
|
${TERMINAL} -e less ${file}
|
||||||
rm ${file}
|
rm ${file}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user