Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error running shell script when zipped

849029May 3 2011 — edited May 3 2011
I have developed some custom EBS code. I have created shell script to deploy it.

I zipped shell script and the code into a zip file. Then I FTPed the zip file to unix server using WinSCP. I unzipped it and when tried to run shell script got following error:
stty: invalid argument `-echo\r'

Then I FTPed the folder (containing shell script and code) directly. When I run the shell script, it runs perfectly fine.

Problem is - I need to provide this script to DBA for deployment. He needs it as a single zip file and not as a folder.

Can someone please tell me why the zip-unzip is causing problem with shell script. The shell script is very simple. It takes password input from user, copies few files and runs some SQL scripts.

Any suggestion/help in this regard is appreciated.
Thanks
This post has been answered by Dude! on May 3 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 31 2011
Added on May 3 2011
2 comments
407 views