From 64973590f726111170ef5546996899bac7a6254a Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 13 Jan 2010 22:41:53 +0100 Subject: [PATCH 1/1] Don't extract ._* and . from tests archive --- client/bin/nagcollect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/bin/nagcollect b/client/bin/nagcollect index 4203b8f..d466a8c 100755 --- a/client/bin/nagcollect +++ b/client/bin/nagcollect @@ -29,7 +29,7 @@ function refreshTestScripts() # Update local test scripts Msg "Extracting scripts ..." mkdir -p /usr/local/lib/nagcollect - tar xzf "$tmp" -C /usr/local/lib/nagcollect ; r=$? + tar xzf "$tmp" -C /usr/local/lib/nagcollect --exclude "._*" --exclude "." ; r=$? fi rm -f "$tmp" return $r -- 2.39.2