From: martin f. krafft Date: Wed, 24 Apr 2013 14:55:38 +0000 (+0200) Subject: silence cmp call by lbdbq X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/112c0f88e879d6d3dd90e57bf022eb8d241f8916?ds=inline;hp=2cba9ba6247bf11aef1c9b9d9e8133e2ee9524bb silence cmp call by lbdbq --- diff --git a/.lbdbrc b/.lbdbrc index a66f67c..f169a48 100644 --- a/.lbdbrc +++ b/.lbdbrc @@ -10,7 +10,7 @@ if [ -d $CONTACTS_DIR ]; then cleanup() { rm -f $VCF_TEMP; trap - EXIT; } for i in $CONTACTS_DIR/*; do case "${i##*/}" in ICE*) continue;; esac; cat "$i"; echo ; done >| "$VCF_TEMP" - if ! cmp "$VCF_FILES" "$VCF_TEMP"; then + if ! cmp --quiet "$VCF_FILES" "$VCF_TEMP"; then mv "$VCF_TEMP" "$VCF_FILES" fi cleanup