diff options
Diffstat (limited to 'common/hooks/pre-pkg/06-shlib-provides.sh')
-rw-r--r-- | common/hooks/pre-pkg/06-shlib-provides.sh | 2 |
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 738760d0729..44c452a5d9a 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)" + local _tmpfile="$(mktemp || exit 1)" if [ ! -d ${_destdir} ]; then rm -f ${_tmpfile} |