[ 
https://issues.apache.org/jira/browse/TUSCANY-4056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Potter updated TUSCANY-4056:
-----------------------------------

    Attachment: tuscany.sh

File updated to remove "\r", also added quotes around "TUSCANY_HOME" to account 
for spaces in pathnames.
                
> tuscany.sh has "\r" carriage returns, unusable in linux
> -------------------------------------------------------
>
>                 Key: TUSCANY-4056
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-4056
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-2.0-Beta3
>         Environment: Ubuntu 12.04 Virtualbox
>            Reporter: Andrew Potter
>            Priority: Blocker
>              Labels: patch
>         Attachments: tuscany.sh
>
>
> tuscany.sh was edited in an environment (windows) that places "\r" or "\r\c" 
> at the end of each line, causing the error:
>     ./tuscany.sh: line 16: $'\r': command not found
>     ./tuscany.sh: line 18: $'\r': command not found
>     ...
> when run from a bash shell.
> Solution:  Strip all occurrences of '\r' in the file, for example:
>     sed 's/\r//g' tuscany.sh > tuscanyNEW.sh

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to