On Sat, Jul 25, 2009 at 2:32 AM, Dave<tdbtdb+cen...@gmail.com> wrote:
> Installing matlab on Centos5.
> [r...@taro matlab]# bash: /media/MATHWORKS_R2009A/install: /bin/sh:
> bad interpreter: Permission denied
Sometimes this can happen if the file has Windows-style EOLs and the
interpreter /bin/sh is translated as /bin/sh^M
Indeed, on a Centos 5 here, the sh is in /bin/sh so the script
probably should have worked.

Check if that is the case. If so, running dos2unix against the shell
script might solve the problem.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to