[Asterisk-Dev] mkdep uses bash
Thorsten Lockert
tholo at sigmasoft.com
Fri May 16 08:29:22 MST 2003
bash is not a standard shell on many/most systems -- and on many
systems where it is installed, it is not in /bin.
/bin/sh *is* standard, and works on Linux as well. This changes
the included BSD mkdep back to its original use of /bin/sh instead
of /bin/bash, which makes it work on both the system if was copied
from and on Linux both...
Index: mkdep
===================================================================
RCS file: /usr/cvsroot/asterisk/mkdep,v
retrieving revision 1.2
diff -u -r1.2 mkdep
--- mkdep 6 May 2003 22:27:46 -0000 1.2
+++ mkdep 16 May 2003 15:31:23 -0000
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#! /bin/sh -
#
# $OpenBSD: mkdep.gcc.sh,v 1.8 1998/09/02 06:40:07 deraadt Exp $
# $NetBSD: mkdep.gcc.sh,v 1.9 1994/12/23 07:34:59 jtc Exp $
--
Thorsten Lockert | tholo at sigmasoft.com | Universe, n.:
2121 N. Lakeshore Dr. | tholo at openbsd.org | The problem.
Chapel Hill, NC 27514 | |
More information about the asterisk-dev
mailing list