to bash or not to bash

Jeffrey A Law law@cygnus.com
Sun Jan 25 19:46:00 GMT 1998


  In message < 19980125015844.63834@jpr.com >you write:
  > # l egcs/configure.in
  > -rw-rw-rw-   1 root     sys        33989 Jan 22 13:11 egcs/configure.in
  > # head -1 egcs/configure.in
  > #! /bin/bash
  > 
  > Uh, why should this, or any other script, assume that /bin/bash exists?
Good question.  Though in the case of the toplevel configure.in I don't think
it actually matters because neither configure.in nor the files created from
it are ever executed directly -- it's actually executed via ". tmpfile" where
the tmpfile is created by massaging configure.in.


jeff



More information about the Gcc mailing list