Don't extract ._* and . from tests archive
authorAlexander Barton <alex@barton.de>
Wed, 13 Jan 2010 21:41:53 +0000 (22:41 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 13 Jan 2010 21:41:53 +0000 (22:41 +0100)
client/bin/nagcollect

index 4203b8f..d466a8c 100755 (executable)
@@ -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