summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/core-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/core-functions.sh b/files/core-functions.sh
index 0db3ffe..aa12743 100644
--- a/files/core-functions.sh
+++ b/files/core-functions.sh
@@ -741,7 +741,7 @@ function makelist() {
# -- temporary file used to store the basename of selected
# packages.
- PKGNAMELIST=$(tempfile --directory=$TMPDIR)
+ PKGNAMELIST=$(mktemp -p ${TMPDIR} -t slackpkg.XXXXXXXXXXXX)
if [ "$CMD" = "file-search" ]; then
# Search filelist.gz for possible matches