]> arthur.barton.de Git - nagcollect.git/commitdiff
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 4203b8f71e47f45f839a1d2ea7f4d41896b0603c..d466a8ca92ebde32e5921c84aa827a24f0242613 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