Deleted Added
full compact
makeinfo.sh (64565) makeinfo.sh (73349)
1#!/bin/sh
2#
3# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
4# All rights reserved.
5# Copyright (c) 1983 Eric P. Allman. All rights reserved.
6# Copyright (c) 1988, 1993
7# The Regents of the University of California. All rights reserved.
8#
9# By using this file, you agree to the terms and conditions set
10# forth in the LICENSE file which can be found at the top level of
11# the sendmail distribution.
12#
13#
14# $Id: makeinfo.sh,v 8.14 1999/02/07 07:26:25 gshapiro Exp $
15#
1#!/bin/sh
2#
3# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
4# All rights reserved.
5# Copyright (c) 1983 Eric P. Allman. All rights reserved.
6# Copyright (c) 1988, 1993
7# The Regents of the University of California. All rights reserved.
8#
9# By using this file, you agree to the terms and conditions set
10# forth in the LICENSE file which can be found at the top level of
11# the sendmail distribution.
12#
13#
14# $Id: makeinfo.sh,v 8.14 1999/02/07 07:26:25 gshapiro Exp $
15#
16# $FreeBSD: head/contrib/sendmail/cf/sh/makeinfo.sh 64565 2000-08-12 22:19:16Z gshapiro $
16# $FreeBSD: head/contrib/sendmail/cf/sh/makeinfo.sh 73349 2001-03-02 16:52:14Z ru $
17#
18
19usewhoami=0
20usehostname=0
21for p in `echo $PATH | sed 's/:/ /g'`
22do
23 if [ "x$p" = "x" ]
24 then

--- 24 unchanged lines hidden (view full) ---

49fi
50
51if [ $usehostname -ne 0 ]
52then
53 host=`hostname`
54else
55 host=`uname -n`
56fi
17#
18
19usewhoami=0
20usehostname=0
21for p in `echo $PATH | sed 's/:/ /g'`
22do
23 if [ "x$p" = "x" ]
24 then

--- 24 unchanged lines hidden (view full) ---

49fi
50
51if [ $usehostname -ne 0 ]
52then
53 host=`hostname`
54else
55 host=`uname -n`
56fi
57echo '#####' built by $user@$host on `LC_TIME=C date`
57echo '#####' built by $user@$host on `LC_ALL=C LC_TIME=C date`
58echo '#####' in `pwd` | sed 's/\/tmp_mnt//'
59echo '#####' using $1 as configuration include directory | sed 's/\/tmp_mnt//'
60echo "define(\`__HOST__', $host)dnl"
58echo '#####' in `pwd` | sed 's/\/tmp_mnt//'
59echo '#####' using $1 as configuration include directory | sed 's/\/tmp_mnt//'
60echo "define(\`__HOST__', $host)dnl"