From 6e1ebc1ea9656fbe7b7caa3a79a1035820421e76 Mon Sep 17 00:00:00 2001 From: Andreas Barth Date: Wed, 23 Jun 2010 20:29:06 +0000 Subject: [PATCH] ignore not existing files in ucat --- triggers/common | 2 ++ 1 file changed, 2 insertions(+) diff --git a/triggers/common b/triggers/common index c2de5c2..71ce5cc 100644 --- a/triggers/common +++ b/triggers/common @@ -141,6 +141,7 @@ trigger_wb_update_with_secondary() { ucat() { for FILE in $*; do + if [ -f ${FILE} ]; then case $FILE in *.gz) zcat $FILE @@ -152,5 +153,6 @@ ucat() { cat $FILE ;; esac + fi done } -- 2.39.2