From: nbd Date: Thu, 20 Apr 2006 00:33:40 +0000 (+0000) Subject: redirect find stderr to /dev/null in timestamp.pl X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;ds=sidebyside;h=61ad8a56f8a015d3d9a673eca98971677135935d;hp=ee3047ee163d0ec2b0c416c2bb11f29ecb1b7552;p=openwrt-10.03%2F.git redirect find stderr to /dev/null in timestamp.pl git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3678 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/scripts/timestamp.pl b/scripts/timestamp.pl index f6b06bc7f..108922191 100755 --- a/scripts/timestamp.pl +++ b/scripts/timestamp.pl @@ -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 () { open FILE, "<$_"; my @stat = stat FILE;