From owner-freebsd-questions Wed Sep 25 11:24:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8218837B404; Wed, 25 Sep 2002 11:24:39 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2B9243E3B; Wed, 25 Sep 2002 11:24:38 -0700 (PDT) (envelope-from swear@attbi.com) Received: from localhost.localdomain ([12.242.158.67]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020925182438.ENMP1515.sccrmhc01.attbi.com@localhost.localdomain>; Wed, 25 Sep 2002 18:24:38 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id g8PIR63q072359; Wed, 25 Sep 2002 11:27:10 -0700 (PDT) (envelope-from swear@attbi.com) Received: (from jojo@localhost) by localhost.localdomain (8.12.5/8.12.5/Submit) id g8PIR1pN072356; Wed, 25 Sep 2002 11:27:01 -0700 (PDT) (envelope-from swear@attbi.com) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@attbi.com using -f To: "Greg 'groggy' Lehey" Cc: Dru , FreeBSD Questions Subject: Re: Mplayer References: <20020925010414.GD30669@wantadilla.lemis.com> <20020924210816.C763-100000@dhcp-17-14.kico2.on.cogeco.ca> <20020925011515.GF30669@wantadilla.lemis.com> From: swear@attbi.com (Gary W. Swearingen) Date: 25 Sep 2002 11:27:00 -0700 In-Reply-To: <20020925011515.GF30669@wantadilla.lemis.com> Message-ID: <1q8z1q9b7v.z1q@localhost.localdomain> Lines: 19 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greg 'groggy' Lehey writes: > Make () > { > if [ "${MAKE}" = "" ]; then > MAKE=make > fi > xtset `uname -n|sed 's:\..*$::'`:`pwd`: Make "$* "`date` > (echo '=====' `date`: Make $*; /usr/bin/time -l ${MAKE} 2>&1 $*) | tee -a Make.log > cd . > } That initial test could be deleted if you replace "${MAKE}" with "${MAKE:=make}". If that seems too obscure, you could replace the test with 'MAKE=${MAKE:-make}'. If that seems too obscure, well, excuuuuse ME.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message