summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-12-12 21:46:57 +0100
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-12-12 21:46:57 +0100
commit2deaaef593f8073a92461fd0fc0ecca7c6e6329f (patch)
treeb5c1f5f6b18aee29d43a4be13c9db46ef669d617
parentReorder tests so that all output is in the same place and the scanelf calls (diff)
downloadflameeyes-tinderbox-2deaaef593f8073a92461fd0fc0ecca7c6e6329f.tar.gz
flameeyes-tinderbox-2deaaef593f8073a92461fd0fc0ecca7c6e6329f.tar.bz2
flameeyes-tinderbox-2deaaef593f8073a92461fd0fc0ecca7c6e6329f.zip
In a bit of paranoia, delete eventual previous logs earlier.
This avoids running the command multiple time later.
-rwxr-xr-xbashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bashrc b/bashrc
index 3a8cccf..188170b 100755
--- a/bashrc
+++ b/bashrc
@@ -30,18 +30,18 @@ tinderbox_if_file() {
}
post_src_install() {
+ rm -f "${T}"/tinderbox-*.log
+
# scanelf -q -F "#s%F" -R -s '-__(|l|f)xstat' "${D}" > "${T}"/tinderbox-scanelf-stat64.log
# if [[ -s "${T}"/tinderbox-scanelf-stat64.log ]]; then
# ewarn "Tinderbox QA Warning! Missing largefile support"
# cat "${T}"/tinderbox-scanelf-stat64.log >/dev/stderr
# fi
- rm -f "${T}"/tinderbox-scanelf-bundled.log
for symbol in adler32 BZ2_decompress jpeg_mem_init XML_Parse avcodec_init png_get_libpng_ver lt_dlopen GC_stdout; do
scanelf -qRs +$symbol "${D}" >> "${T}"/tinderbox-scanelf-bundled.log
done
- rm -f "${T}"/tinderbox-scanelf-insecure.log
for symbol in tmpnam tmpnam_r tempnam gets sigstack getpw getwd mktemp; do
scanelf -qRs -$symbol "${D}" >> "${T}"/tinderbox-scanelf-insecure.log
done