From 34bbe4cf7b8c70fda3475ee2e936db93c4fe427a Mon Sep 17 00:00:00 2001 From: Evangelos Foutras Date: Wed, 25 Nov 2015 12:58:39 +0200 Subject: pacdiff: do not require DIFFPROG for -o/--output Signed-off-by: Evangelos Foutras Signed-off-by: Allan McRae --- contrib/pacdiff.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/pacdiff.sh.in b/contrib/pacdiff.sh.in index 90eb3cc2..a4faba2e 100644 --- a/contrib/pacdiff.sh.in +++ b/contrib/pacdiff.sh.in @@ -118,7 +118,7 @@ done m4_include(../scripts/library/term_colors.sh) -if ! type -p ${diffprog%% *} >/dev/null; then +if ! type -p ${diffprog%% *} >/dev/null && (( ! OUTPUTONLY )); then error "Cannot find the $diffprog binary required for viewing differences." exit 1 fi -- cgit v1.2.3