Script for compiling Xorg
lfs at ace-electronics.be
Thu Aug 2 05:53:15 PDT 2007
Nicolas FRANCOIS schreef:
> 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
> 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
> !#/bin/bash -e
> Is this OK ? Or did I miss something ?
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 #!.
More information about the blfs-support