redirect find stderr to /dev/null in timestamp.pl
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 20 Apr 2006 00:33:40 +0000 (00:33 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 20 Apr 2006 00:33:40 +0000 (00:33 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3678 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/timestamp.pl

index f6b06bc..1089221 100755 (executable)
@@ -4,7 +4,7 @@ use strict;
 sub get_ts($) {
        my $path = shift;
        my $ts = 0;
-       open FIND, "find $path -not -path \\*.svn\\* -and -not -path \\*CVS\\* |";
+       open FIND, "find $path -not -path \\*.svn\\* -and -not -path \\*CVS\\* 2>/dev/null |";
        while (<FIND>) {
                open FILE, "<$_";
                my @stat = stat FILE;
This page took 0.022406 seconds and 4 git commands to generate.