-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Environment:
Ubuntu 14.10 Elementary OS
The file "applyPatches.sh" is encoded using DOS encoding. When running the file using bash on unix systems due to this, you receive the following error:
$ bash applyPatches.sh applyPatches.sh: line 2: $'\r': command not found Rebuilding Forked projects.... applyPatches.sh: line 6: $'\r': command not found applyPatches.sh: line 7: syntax error near unexpected token `$'{\r'' 'pplyPatches.sh: line 7: `function applyPatch {
Using dos2unix resolves this easily:
http://linuxcommand.org/man_pages/dos2unix1.html