aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/pre-pkg/04-generate-runtime-deps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/hooks/pre-pkg/04-generate-runtime-deps.sh')
-rw-r--r--common/hooks/pre-pkg/04-generate-runtime-deps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks/pre-pkg/04-generate-runtime-deps.sh b/common/hooks/pre-pkg/04-generate-runtime-deps.sh
index 5ca384a520b..9edb85ad59b 100644
--- a/common/hooks/pre-pkg/04-generate-runtime-deps.sh
+++ b/common/hooks/pre-pkg/04-generate-runtime-deps.sh
@@ -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