diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-18 13:07:19 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-18 13:07:19 +0100 |
commit | 4ca0a862db2ae24bbe814d2785133aea0545fb63 (patch) | |
tree | 144ad93c3b7cb3a99b5f24c3517aade64ca2f160 /bin | |
parent | e68d7396b0bae3cba4a8fd36c2e0fc5c64227b65 (diff) | |
download | jenkins.debian.net-4ca0a862db2ae24bbe814d2785133aea0545fb63.tar.xz |
reproducible archlinux+rpms: use mktemp -t
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_archlinux.sh | 14 | ||||
-rwxr-xr-x | bin/reproducible_html_rpms.sh | 16 |
2 files changed, 15 insertions, 15 deletions
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 740cc8bf..eb9257bb 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -18,16 +18,16 @@ echo "$(date -u) - starting to analyse build results." for i in 0 1 2 3 4 ; do HTML_FTBFS[$i]=$(mktemp) done -HTML_FTBR=$(mktemp) -HTML_DEPWAIT=$(mktemp) +HTML_FTBR=$(mktemp -t rhtml-archlinux-XXXXXXXX) +HTML_DEPWAIT=$(mktemp -t rhtml-archlinux-XXXXXXXX) for i in 0 1 ; do - HTML_404[$i]=$(mktemp) + HTML_404[$i]=$(mktemp -t rhtml-archlinux-XXXXXXXX) done -HTML_GOOD=$(mktemp) -HTML_UNKNOWN=$(mktemp) -HTML_BUFFER=$(mktemp) +HTML_GOOD=$(mktemp -t rhtml-archlinux-XXXXXXXX) +HTML_UNKNOWN=$(mktemp -t rhtml-archlinux-XXXXXXXX) +HTML_BUFFER=$(mktemp -t rhtml-archlinux-XXXXXXXX) HTML_TARGET="" -HTML_REPOSTATS=$(mktemp) +HTML_REPOSTATS=$(mktemp -t rhtml-archlinux-XXXXXXXX) for REPOSITORY in $ARCHLINUX_REPOS ; do echo "$(date -u) - starting to analyse build results for '$REPOSITORY'." TOTAL=$(cat ${ARCHLINUX_PKGS}_$REPOSITORY | sed -s "s# #\n#g" | wc -l) diff --git a/bin/reproducible_html_rpms.sh b/bin/reproducible_html_rpms.sh index 36ae543a..d1c78dab 100755 --- a/bin/reproducible_html_rpms.sh +++ b/bin/reproducible_html_rpms.sh @@ -17,15 +17,15 @@ ARCH="$2" # analyse results to create the webpage # echo "$(date -u) - starting to analyse build results." -HTML_FTBFS=$(mktemp) -HTML_FTBR=$(mktemp) -HTML_DEPWAIT=$(mktemp) -HTML_404=$(mktemp) -HTML_GOOD=$(mktemp) -HTML_UNKNOWN=$(mktemp) -HTML_BUFFER=$(mktemp) +HTML_FTBFS=$(mktemp -t rhtml-rpms-XXXXXXXX) +HTML_FTBR=$(mktemp -t rhtml-rpms-XXXXXXXX) +HTML_DEPWAIT=$(mktemp -t rhtml-rpms-XXXXXXXX) +HTML_404=$(mktemp -t rhtml-rpms-XXXXXXXX) +HTML_GOOD=$(mktemp -t rhtml-rpms-XXXXXXXX) +HTML_UNKNOWN=$(mktemp -t rhtml-rpms-XXXXXXXX) +HTML_BUFFER=$(mktemp -t rhtml-rpms-XXXXXXXX) HTML_TARGET="" -HTML_RPM_STATS=$(mktemp) +HTML_RPM_STATS=$(mktemp -t rhtml-rpms-XXXXXXXX) echo "$(date -u) - starting to analyse build results for '$RELEASE' ($ARCH)." TOTAL=$(cat ${RPM_PKGS}_$RELEASE | sed -s "s# #\n#g" | wc -l) |