From owner-freebsd-questions Wed Oct 20 13: 5:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from logisticsoftware.co.nz (logisticsoftware.co.nz [202.37.163.1]) by hub.freebsd.org (Postfix) with ESMTP id 0970514CF9 for ; Wed, 20 Oct 1999 13:05:39 -0700 (PDT) (envelope-from jonc@logisticsoftware.co.nz) Received: (from jonc@localhost) by logisticsoftware.co.nz (8.9.3/8.9.3) id JAA08638; Thu, 21 Oct 1999 09:03:52 +1300 (NZDT) Date: Thu, 21 Oct 1999 09:03:52 +1300 (NZDT) From: Jonathan Chen To: Mike Bartlett Cc: freebsd-questions@FreeBSD.ORG Subject: Re: export problem In-Reply-To: <1145CD545D54D211BCEB0060B067AD06147785@RETINA> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 20 Oct 1999, Mike Bartlett wrote: > deye 5$ less mysql.sh > > #!/bin/sh > # > TZ=SAT-1SAST > export TZ > /sbin/ldconfig -m /usr/local/lib/mysql > > if [ -x /usr/local/bin/safe_mysqld ] > then > /usr/local/bin/safe_mysqld > /dev/null & && echo -n ' mysql' > fi > > deye 6$ ./mysql.sh > mysqldeye 7$ TZ: not found Take out the empty line. The #!/bin/sh *must* be on the first line. Jonathan Chen ------------------------------------------------------------------------ "We laugh in the face of danger, we drop icecubes down the vest of fear" - Edmond Blackadder III To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message