prisszilla / lod2-stack

Automatically exported from code.google.com/p/lod2-stack
0 stars 0 forks source link

Incorrect line ending in the LOD2 Stack installation script #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The LOD2 Stack's installation script 
(http://wiki.lod2.eu/display/LOD2DOC/Using+the+LOD2+stack+installation+script) 
contains incorrect line endings ("^M" characters).

What steps will reproduce the problem?

1. wget 
"http://wiki.lod2.eu/download/attachments/3473540/automatic_lod2stack_1.1_ubuntu
_11.10?version=1&modificationDate=1330692441000" -O install_LOD2_Stack.sh
2. chmod +x install_LOD2_Stack.sh
3. sudo ./install_LOD2_Stack.sh # Nothing happens

This will show that the script contains ^M characters:
grep ^M install_LOD2_Stack.sh

A possible fix:
1. vim install_LOD2_Stack.sh
2. :set fileformat=unix
3. :wq!

What version of the product are you using? On what operating system?

Ubuntu 12.04, 64-bit.

Original issue reported on code.google.com by mynarzji...@gmail.com on 9 Aug 2012 at 9:08