X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.local%2Fbin%2Fcpm.sh;h=a51a0aa6df8217a0da31006bd5675ae1e2bb79d3;hb=3232ebec1b74563f7dbd3ff7652c44976b6a705d;hp=76697426825fcc3e29d9e8aa50c982222884fe76;hpb=30b6457bcd8ea12f5ec67d49cc3582fccee100d6;p=dotfiles.git diff --git a/shell/.local/bin/cpm.sh b/shell/.local/bin/cpm.sh index 7669742..a51a0aa 100755 --- a/shell/.local/bin/cpm.sh +++ b/shell/.local/bin/cpm.sh @@ -1,8 +1,8 @@ #!/bin/bash -set -e -cpm "$@" | grep -v\ +set -eo pipefail +cpm "$@" |& grep -v\ -e "^Warning: Multiple file instances: 'Makefile'"\ - -e "^Analyzing '"\ + -e "^Analyzing"\ -e "^iTasks Resource Collector: "\ -e "^Warning: Unable to setup directory cache: "\ -e "^]: is older than .abc file"\ @@ -18,5 +18,5 @@ then |& grep -v\ -e "^Doc warning: expected @type for '"\ -e "^Doc error: missing leading asterisk in '"\ - -e "^Could not get full path for '" + -e "^Could not get full path for '" || true fi