From f7ee8c0d1c8e248dbf9d18615323c64c09b96a84 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Mon, 20 Nov 2006 20:23:35 +0000 Subject: [PATCH] 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 --- build/scripts/build_haiku_image | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/scripts/build_haiku_image b/build/scripts/build_haiku_image index 14be4a9191..b3c432f44e 100755 --- a/build/scripts/build_haiku_image +++ b/build/scripts/build_haiku_image @@ -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