On Sun, Aug 9, 2009 at 9:25 PM, Ivan Andrus <darthand...@gmail.com> wrote:

>
> William Stein <wst...@gmail.com> writes:
>
> > On Sun, Aug 9, 2009 at 12:07 AM, Dr. David Kirkby
> > <david.kir...@onetel.net> wrote:
> >>
> >> I keep seeing the above message from Sage on Solaris. Is this normal on
> >> linux? /bin/sh does exist on Solaris, as does /usr/bin/sh, since
> >> /usr/bin and /bin are linked.
> >
> > I think
> >
> >   "/bin/sh: source: not found"
> >
> > means that the /bin/sh program is outputing the error message "source:
> > not found".  I.e., some shell script is trying do run the "source"
> > command on some file foo, perhaps "source foo" and foo doesn't exist.
> >  Or something like that.
>
> The problem is that `source` is a bashism.  We should be using `.`
> instead.  On most platforms sh is a link to bash so this problem doesn't
> show up.
>
> https://wiki.ubuntu.com/DashAsBinSh
>
> -Ivan
>

+1 -- this sounds exactly right to me.

Thanks!

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to