Chadrick Blog

easy fix for bash script file unexpected end of file error

open with vi, and execute :set fileformat=unix and save the file.

referred from here.