From bacdb4b82667bfba079617a0d26eaffffc7df038 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 8 Jun 2010 00:34:06 +0200 Subject: Make sure copy_exec hook function does not exit with a non-zero return value in non-verbose mode. [Closes: #584520] Reported-by: Gerrit Keller Signed-off-by: Michael Prokop --- hook-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hook-functions b/hook-functions index 213a48a..86dc905 100644 --- a/hook-functions +++ b/hook-functions @@ -148,7 +148,7 @@ copy_exec() { mkdir -p "${DESTDIR}/${dirname}" if [ ! -e "${DESTDIR}/${dirname}/${libname}" ]; then ln -s "${x}" "${DESTDIR}/${dirname}" - [ "${verbose}" = "y" ] && echo "Adding library ${x}" + [ "${verbose}" = "y" ] && echo "Adding library ${x}" || true fi done } -- cgit v1.2.3