Removed bashisms from build_haiku_image, thus fixing part of bug 931.

There's still some weird output being printed, but building the mime 
database now works under dash too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19344 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2006-11-20 20:23:35 +00:00
parent 27cc25083e
commit f7ee8c0d1c
+2 -2
View File
@@ -93,7 +93,7 @@ for inSuperFile in $mimeDBSource/*.super; do
outSuperDir=$mimeDBDest/$superType
# compile rdef to rsrc file and the rsrc file to attributes
mimeTmpIndex=$[$mimeTmpIndex + 1]
mimeTmpIndex=$(($mimeTmpIndex + 1))
tmpFile=$mimeTmpDir/mimedb$$_${mimeTmpIndex}.rsrc
tmpFile2=$mimeTmpDir/mimedb$$_${mimeTmpIndex}.mime
$rc -o $tmpFile $inSuperFile
@@ -109,7 +109,7 @@ for inSuperFile in $mimeDBSource/*.super; do
outSubFile=$outSuperDir/$subType
# compile rdef to rsrc file and the rsrc file to attributes
mimeTmpIndex=$[$mimeTmpIndex + 1]
mimeTmpIndex=$(($mimeTmpIndex + 1))
tmpFile=$mimeTmpDir/mimedb$$_${mimeTmpIndex}.rsrc
tmpFile2=$mimeTmpDir/mimedb$$_${mimeTmpIndex}.mime
$rc -o $tmpFile $inSubFile