From 633a9409ae245b06ad5ae6a9b68853879cad03dc Mon Sep 17 00:00:00 2001
From: Erich Eckner <git@eckner.net>
Date: Thu, 18 Jan 2018 15:21:01 +0100
Subject: put name of creating script into name of temporary directories

---
 bin/get-package-updates | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'bin/get-package-updates')

diff --git a/bin/get-package-updates b/bin/get-package-updates
index 8e0df04..cbe8b14 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -91,7 +91,7 @@ delete_package() {
 }
 
 # create tmp_dir and trap
-tmp_dir=$(mktemp -d)
+tmp_dir=$(mktemp -d 'tmp.get-package-updates.XXXXXXXXXX' --tmpdir)
 trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
 
 # Update git repositories (official packages, community packages and the repository of package customizations).
-- 
cgit v1.2.3-70-g09d2