Forget about the #/!bin/sh... that shouldn't be there because this script gets 'source'd, not executed.
I think the problem is that when you installed Cygwin you didn't specify the option to use DOS line endings. Gordon Smith Adobe Flex SDK Team ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Tuesday, July 15, 2008 12:41 PM To: [email protected] Subject: RE: [flexcoders] setup.sh Error, Compiling Flex You're running in Cygwin, right? If you put #!/bin/sh as the first line of setup.sh, does that make it work? Gordon Smith Adobe Flex SDK Team ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Tuesday, July 15, 2008 12:33 PM To: [email protected] Subject: Re: [flexcoders] setup.sh Error, Compiling Flex and i guess i Should say i am using the same files that are on the adobe site, http://opensource.adobe.com/wiki/display/flexsdk/Setup http://opensource.adobe.com/wiki/display/flexsdk/Build+and+Test ----- Original Message ---- From: Sherif Abdou <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, July 15, 2008 2:30:18 PM Subject: Re: [flexcoders] setup.sh Error, Compiling Flex I am using Windows Vista and I am downloading what is in the Flex trunk from subversion. ----- Original Message ---- From: Gordon Smith <[EMAIL PROTECTED] com> To: [EMAIL PROTECTED] ups.com Sent: Tuesday, July 15, 2008 12:50:46 PM Subject: RE: [flexcoders] setup.sh Error, Compiling Flex Could you be specific about what you're doing? Are you getting the Flex trunk from the Subversion repo? Or are you downloading a prebuilt SDK? Are you on Windows, Mac, or Linux? Gordon Smith Adobe <http://www.adobe.com/> Flex SDK Team ________________________________ From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf Of Sherif Abdou Sent: Tuesday, July 15, 2008 10:40 AM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] setup.sh Error, Compiling Flex Here is the site that has the same problem as i am http://d.hatena. ne.jp/nitoyon/ 20080307/ p1 but it is in another language i tried running it thru Google <http://www.google.com/> translator but it is not working. Anyhow i am getting this error bash: $'\r': command not found bash: $'\r': command not found bash: $'\r': command not found bash: setup.sh: line 41: syntax error near unexpected token `$'in\r'' 'ash: setup.sh: line 41: `case `uname` in When i do source setup.sh, does anyone know what this means?

