From e733c6856ae2dbade10fd6ebcb8817c92a471e20 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Mon, 20 Nov 2006 20:45:06 +0000 Subject: [PATCH] Fixed bug 931 by using a different construct to redirect both stderr and stdout to /dev/null git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19345 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/scripts/build_haiku_image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/scripts/build_haiku_image b/build/scripts/build_haiku_image index b3c432f44e..0431399bd8 100755 --- a/build/scripts/build_haiku_image +++ b/build/scripts/build_haiku_image @@ -104,7 +104,7 @@ for inSuperFile in $mimeDBSource/*.super; do # iterate through the sub types for inSubFile in $mimeDBSource/$superType/*; do # check, if the type exists - if test -f $inSubFile && grep META:TYPE $inSubFile &> /dev/null; then + if test -f $inSubFile && grep META:TYPE $inSubFile > /dev/null 2>&1 ; then subType=$(basename $inSubFile) outSubFile=$outSuperDir/$subType