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
This commit is contained in:
parent
f7ee8c0d1c
commit
e733c6856a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user