From d9d5631b8dc25840c928b19a947c773ea5c8f3f6 Mon Sep 17 00:00:00 2001 From: Ondrej Mosnacek Date: Mon, 5 Oct 2020 21:01:57 +0200 Subject: [PATCH] make-rhat-patches: Use default tmp directory It's better to use the standard /tmp, since it commonly has tmpfs mounted over it, which avoids unnecessary disk I/O. Let's make our SSDs slightly happier :) Signed-off-by: Ondrej Mosnacek --- make-rhat-patches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-rhat-patches.sh b/make-rhat-patches.sh index ca997fac..b680491b 100755 --- a/make-rhat-patches.sh +++ b/make-rhat-patches.sh @@ -20,7 +20,7 @@ fi git checkout $DISTGIT_BRANCH -q -POLICYSOURCES=`mktemp -d policysources.XXXXXX` +POLICYSOURCES=`mktemp -d --tmpdir policysources.XXXXXX` pushd $POLICYSOURCES > /dev/null git clone -q $REPO_SELINUX_POLICY selinux-policy