From owner-freebsd-stable Sat Aug 10 5:23:32 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2051737B400 for ; Sat, 10 Aug 2002 05:23:29 -0700 (PDT) Received: from stealth.siteplus.com (ns1.siteplus.com [66.129.2.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 609D543E4A for ; Sat, 10 Aug 2002 05:23:28 -0700 (PDT) (envelope-from jim@jwweeks.com) Received: from veager.jwweeks.com (pcp01076331pcs.midval01.tn.comcast.net [68.59.219.194]) by stealth.siteplus.com (8.12.5/8.12.5) with ESMTP id g7ACNImm035368; Sat, 10 Aug 2002 08:23:18 -0400 (EDT) (envelope-from jim@jwweeks.com) Date: Sat, 10 Aug 2002 08:23:21 -0400 (EDT) From: Jim Weeks To: weeguan@myrealbox.com Cc: stable@FreeBSD.ORG Subject: Re: Keychain (shell script) does not want to play with /bin/sh In-Reply-To: <20020810025048.GA396@nexus> Message-ID: <20020810081831.F278-100000@veager.jwweeks.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok, this is getting a little ridiculous. One can argue that the new /bin/sh does things correctly and the old version did not, but now we see breakage in core components! <---- Cleaning up kernel database files: Rebuilding locate database: /usr/libexec/locate.mklocatedb: 87: Syntax error: "||" unexpected Rebuilding whatis database: -- End of weekly output -- ----> At this point I'm not sure what the answer might be, wait untill things break and then fix them? -- Jim On Sat, 10 Aug 2002 weeguan@myrealbox.com wrote: > > Hello all, > > I am using keychain 1.9 (http://www.gentoo.org/projects/keychain) to > have a per-boot ssh-agent. This is basically a shell script which uses > /bin/sh. > > Everything was working fine as of my make world 1 Aug 2002. However, > after my make world last night, things have not been going too well > for keychain. I now get: > > hostname> keychain --clear > > KeyChain 1.9; http://www.gentoo.org/projects/keychain > Copyright 2001 Gentoo Technologies, Inc.; Distributed under the GPL > /usr/local/bin/keychain: 244: Syntax error: "||" unexpected > > > Has anything changed in /bin/sh that causes it to choke on this shell > script? I am a newbie to shell scripts. > > Any ideas/help? > > Many thanks in advance. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message