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 195626 2009-07-11 22:30:37Z cperciva $ |
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 |
58echo '#####' in `pwd` | sed 's/\/tmp_mnt//' 59echo '#####' using $1 as configuration include directory | sed 's/\/tmp_mnt//' 60echo "define(\`__HOST__', $host)dnl" |