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:
parent
ea7a6e858d
commit
f59b295903
9 changed files with 11 additions and 11 deletions
|
@ -61,7 +61,7 @@ hook() {
|
|||
return 0
|
||||
fi
|
||||
|
||||
depsftmp=$(mktemp -t xbps_src_depstmp.XXXXXXXXXX) || return 1
|
||||
depsftmp=$(mktemp || exit 1)
|
||||
find ${PKGDESTDIR} -type f -perm -u+w > $depsftmp 2>/dev/null
|
||||
|
||||
exec 3<&0 # save stdin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue