there is a logical error on line 55 it appears; "if [ use sparc || use sparc64 ]; then" only problem is when we don't use sparc, it will be translated into; "if [ || ]; then" this will result in bash (or whatever shell i guess:) saying: bash: [: missing `]' the following line will not complain and it appears that it is working aswell (since I'm using a x86 system, i tried to add -o `use x86` - and it apperaed to be working. "if [ `use sparc` -o `use sparc64` ]; then" mind you, that this is written early on a sunday with no coffee yet, so - the bug can, of course, be in my head. :)