in my humble opinion

 #!/bin/bash  means the script is written for the bash shell. when you do sh
oebb.sh you use the sh shell to interpret the script. any difference between
sh and bash will show up


On Mon, Aug 9, 2010 at 4:48 PM, Walt Scrivens <[email protected]> wrote:

> Well, my Linux ignorance must be showing.  I thought about the first line
> of the script, #!/bin/bash and said "that is to invoke the shell."  so i
> tried just "./oebb.sh config spitz" and it ran.
>
> Why does "./oebb.sh config spitz" work and
> "sh oebb.sh config spitz" does not?
>
> Walt
>
> On Aug 9, 2010, at 4:58 PM, Walt Scrivens wrote:
>
> > I feel badly asking for help so early in the process.
> > I have completely given up with Narcissus for the Spitz.  After trying at
> least a dozen permutations of X11, and opie, I still can't get a working
> hdimage, so I thought I would try to do my own and learn a bit in the
> process.
> >
> > I did a git clone of the repository from gitorious, and tried running the
> setup script:
> >
> > sh oebb.sh config spitz
> >
> > and was rewarded with
> >
> > oebb.sh: 46: Synatx error: "(" unexpected.
> >
> > Line 46 of the file is
> >
> > function set_environment()
> >
> > which looks reasonable to me.  There are no stray parentheses earlier in
> the file that could throw off the count.
> >
> > (I'm working on a Ubuntu 9.10 box)
> >
> > Any help would be welcome.
> >
> > Walt
> > _______________________________________________
> > Angstrom-distro-users mailing list
> > [email protected]
> >
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users
>
>
> _______________________________________________
> Angstrom-distro-users mailing list
> [email protected]
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users
>



-- 
A. Qasimi
_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to