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 #!.
HTH
Regards,
Koenraad Lelong.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page