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 <omosnace@redhat.com>
This commit is contained in:
parent
5772505d0d
commit
d9d5631b8d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user