releng / sig_policy: fix mktemp call

mktemp needs X's in the name passed to it to apply it's random template
to. Without that it just fails with:

mktemp: too few X's in template ‘/tmp/sig_policy’

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-07-25 09:42:59 -07:00
parent 07da1e573c
commit e50aa4a928

View file

@ -1,4 +1,4 @@
# Runs the `sig_policy.py` script
MAILTO=releng-cron@lists.fedoraproject.org
PAGURE_API_TOKEN={{ fesco_sig_policy_src_token }}
30 9 * * 1 root TMPDIR=`mktemp -d /tmp/sig_policy` && chmod 755 $TMPDIR && cd $TMPDIR && git clone https://pagure.io/releng.git && cd releng/scripts/fesco/sig-policy && python sig_policy.py
30 9 * * 1 root TMPDIR=`mktemp -d /tmp/sig_policy.XXXXXXXXXX` && chmod 755 $TMPDIR && cd $TMPDIR && git clone https://pagure.io/releng.git && cd releng/scripts/fesco/sig-policy && python sig_policy.py