[packages/rpm-build-tools] Use tempfile provided in this script.

arekm arekm at pld-linux.org
Wed Jun 27 19:47:56 CEST 2018


commit 72b75eeccd04d86a0e7358c0f997fbc758a38e1f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jun 27 19:47:49 2018 +0200

    Use tempfile provided in this script.

 builder.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index fcbec93..870b1a8 100755
--- a/builder.sh
+++ b/builder.sh
@@ -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\";")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/72b75eeccd04d86a0e7358c0f997fbc758a38e1f



More information about the pld-cvs-commit mailing list