Andrew Potter created TUSCANY-4056:
--------------------------------------

             Summary: 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


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