Le Thu, 02 Aug 2007 14:53:15 +0200 Koenraad Lelong
<[EMAIL PROTECTED]> a écrit :
> Nicolas FRANCOIS schreef:
> > Hi.
> >
> > On page xorg7.html of the BLFS book, it is mentionned that the
> > compilation of the different parts of Xorg should be scripted, that I can
> > only agree with. But the script behaviour is quite strange :
> >
> > bash -e #exit on all errors
> > section=proto
> > version=7.2
> > mkdir $section
> > cd $section
> > ...
> >
> > When you launch such a script, nothing happens, until you type something
> > on the console. Then the script starts.
> >
> > Someone on the linux french newsgroup told me that the first line should
> > be
> > !#/bin/bash -e
> >
> > Is this OK ? Or did I miss something ?
> >
> > \bye
> >
> No, AFAIK it's
> #!/bin/bash... At least that's what I start my scripts with.
> Now I looked into it, on my Suse box a number of scripts start with
> #! /bin/bash, notice the space after #!.
oups, sorry, mistype. But is the rest of the message OK ?
\bye
--
Nicolas FRANCOIS
http://nicolas.francois.free.fr
A TRUE Klingon programmer does NOT comment his code
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page