From 2deaaef593f8073a92461fd0fc0ecca7c6e6329f Mon Sep 17 00:00:00 2001 From: Diego Elio 'Flameeyes' Pettenò Date: Sat, 12 Dec 2009 21:46:57 +0100 Subject: In a bit of paranoia, delete eventual previous logs earlier. This avoids running the command multiple time later. --- bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bashrc') 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 -- cgit v1.2.3-65-gdbad