aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/pre-pkg/06-shlib-provides.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/hooks/pre-pkg/06-shlib-provides.sh')
-rw-r--r--common/hooks/pre-pkg/06-shlib-provides.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks/pre-pkg/06-shlib-provides.sh b/common/hooks/pre-pkg/06-shlib-provides.sh
index 44c452a5d9a..cdc94de3bc9 100644
--- a/common/hooks/pre-pkg/06-shlib-provides.sh
+++ b/common/hooks/pre-pkg/06-shlib-provides.sh
@@ -5,7 +5,7 @@ collect_sonames() {
local _destdir="$1" f _soname _fname _pattern
local _pattern="^[[:alnum:]]+(.*)+\.so(\.[0-9]+)*$"
local _versioned_pattern="^[[:alnum:]]+(.*)+\.so(\.[0-9]+)+$"
- local _tmpfile="$(mktemp || exit 1)"
+ local _tmpfile=$(mktemp) || exit 1
if [ ! -d ${_destdir} ]; then
rm -f ${_tmpfile}