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:
@@ -104,7 +104,7 @@ for inSuperFile in $mimeDBSource/*.super; do
|
|||||||
# iterate through the sub types
|
# iterate through the sub types
|
||||||
for inSubFile in $mimeDBSource/$superType/*; do
|
for inSubFile in $mimeDBSource/$superType/*; do
|
||||||
# check, if the type exists
|
# 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)
|
subType=$(basename $inSubFile)
|
||||||
outSubFile=$outSuperDir/$subType
|
outSubFile=$outSuperDir/$subType
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user