From 565378d2b9eb33224b7acca314007f9bcdc284e6 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 7 Sep 2009 18:55:11 +0200 Subject: [PATCH] samples: fix displaying selected tools Do display selected tools / debug facilities when displaying a sample. --- scripts/showSamples.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/showSamples.sh b/scripts/showSamples.sh index 946b7117..3c44bd76 100755 --- a/scripts/showSamples.sh +++ b/scripts/showSamples.sh @@ -57,13 +57,13 @@ dump_single_sample() { printf ")\n" printf " %-*s : %s\n" ${t_width} "C library" "${CT_LIBC}${CT_LIBC_VERSION:+-}${CT_LIBC_VERSION}" printf " %-*s :" ${t_width} "Tools" - [ "${CT_LIBELF}" ] && printf " libelf-${CT_LIBELF_VERSION}" - [ "${CT_SSTRIP}" ] && printf " sstrip" - [ "${CT_DMALLOC}" ] && printf " dmalloc-${CT_DMALLOC_VERSION}" - [ "${CT_DUMA}" ] && printf " duma-${CT_DUMA_VERSION}" - [ "${CT_GDB}" ] && printf " gdb-${CT_GDB_VERSION}" - [ "${CT_LTRACE}" ] && printf " ltrace-${CT_LTRACE_VERSION}" - [ "${CT_STRACE}" ] && printf " strace-${CT_STRACE_VERSION}" + [ "${CT_TOOL_libelf}" ] && printf " libelf-${CT_LIBELF_VERSION}" + [ "${CT_TOOL_sstrip}" ] && printf " sstrip" + [ "${CT_DEBUG_dmalloc}" ] && printf " dmalloc-${CT_DMALLOC_VERSION}" + [ "${CT_DEBUG_duma}" ] && printf " duma-${CT_DUMA_VERSION}" + [ "${CT_DEBUG_gdb}" ] && printf " gdb-${CT_GDB_VERSION}" + [ "${CT_DEBUG_ltrace}" ] && printf " ltrace-${CT_LTRACE_VERSION}" + [ "${CT_DEBUG_strace}" ] && printf " strace-${CT_STRACE_VERSION}" printf "\n" fi else