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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user