Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2002 09:35:56 +0200
From:      Olivier Tharan <olive@oban.frmug.org>
To:        ports@freebsd.org
Subject:   Re: FreeBSD Port: keychain-1.9
Message-ID:  <20020812073556.GB1625@weirdos.oban.frmug.org>
In-Reply-To: <3D53A7DD.9030401@veidit.net>
References:  <3D53A7DD.9030401@veidit.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* John Angelmo <john@veidit.net> (20020809 13:30):
> 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
> 
> 
> Since I'm running current it might be a current issue or is it an issue 
> for keychain?

It works correctly on -STABLE. It might be an sh issue; I copy here
lines 243-244:

	# "> pidf" doesn't work ash.  But it should work with any sh-compatible shell
	> "$pidf" || { echo "$0: Cannot create ${pidf}; exiting." 1>&2; rm -f "$pidf" "$cshpidf" "$lockf" 2> /dev/null; exit 1; }

Maybe the '> $var' construct does not work on -CURRENT's sh?

olive
-- 
"Junk mail is war. RFCs do not apply." --Wietse Venema

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020812073556.GB1625>