Switch to mktemp for wheel-index.sh

This will make our centos7 wheel slave happier.

Change-Id: I0a29eb0caa865b7c8bcace01460420f2564b1b3a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-03-23 15:37:58 -04:00
parent e3634a739b
commit 853fce36cb

View File

@ -4,7 +4,7 @@
MIRROR_ROOT=$1
# A temporary file to which to write the new index
TMP_INDEX_FILE=$(tempfile)
TMP_INDEX_FILE=$(mktemp)
trap "rm -f -- '$TMP_INDEX_FILE'" EXIT
# And the final location