Try to find out which shell you are using with ps -p $$
For example I am using the bash shell. It might be that you are using the wrong shell. Second you want to source the script using source envsetup.sh because you are going to execute the make command in this shell. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jun 4, 8:08 pm, "suziki790417yahoo.com.cn" <[email protected]> wrote: > Hi all: > I'm trying to build android platform on Mac OS and I've got the > following error: > > macbook:build root# ./envsetup.sh > '/envsetup.sh: line 1: syntax error near unexpected token `{ > '/envsetup.sh: line 1: `function help() { > macbook:build root# > > Any way to help tell me for fix it? > Many thanks! > > Su --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel -~----------~----~----~----~------~----~------~--~---
