]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Use tempfile provided in this script.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 27 Jun 2018 17:47:49 +0000 (19:47 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 27 Jun 2018 17:47:49 +0000 (19:47 +0200)
builder.sh

index fcbec939e893e80a3744c3db9520886a9d14bed1..870b1a855990ccf94cb2c1b1558bac5ad27f63c5 100755 (executable)
@@ -297,7 +297,7 @@ download_wget() {
 
 download_lftp() {
        local outfile=$1 url=$2 retval tmpfile
-       tmpfile=$(mktemp) || exit 1
+       tmpfile=$(tempfile) || exit 1
        lftp -c "
                $([ "$DEBUG" = "yes" ] && echo "debug 5;")
                $([ "$IPOPT" = "-4" ] && echo "set dns:order \"inet\";")
This page took 0.038818 seconds and 4 git commands to generate.