From: Amos Jeffries Date: Sat, 14 Nov 2009 11:42:21 +0000 (+1300) Subject: Author: Francesco Chemolli X-Git-Tag: SQUID_3_1_0_15~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f7c59b8fe732a415d7b67febd82fee71af9e935;p=thirdparty%2Fsquid.git Author: Francesco Chemolli Portability fix: non-GNU diff is not guarranteed to handle the -q switch --- diff --git a/scripts/remove-cfg.sh b/scripts/remove-cfg.sh index 7b5905fd06..f3e997c7c2 100644 --- a/scripts/remove-cfg.sh +++ b/scripts/remove-cfg.sh @@ -18,7 +18,7 @@ fi if test -f $prime then # is the primary config identical to the default? - if diff -q $default $prime > /dev/null + if diff $default $prime > /dev/null then echo " $remover -f $prime"; $remover -f $prime;