xbps-src: cleaned up usage of mktemp(1).

This one was on my TODO for a long while... fixes unportable
arguments (checked with the NetBSD's manual page).
This commit is contained in:
Juan RP 2019-06-17 15:10:16 +02:00
parent ea7a6e858d
commit f59b295903
9 changed files with 11 additions and 11 deletions

View file

@ -30,7 +30,7 @@ bulk_sortdeps() {
fi
done
tmpf=$(mktemp)
tmpf=$(mktemp || exit 1)
# Now make the real dependency graph of all pkgs to build.
# Perform a topological sort of all pkgs but only with build dependencies
# that are found in previous step.