X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; q=dns; s=default; b=X+VLu
	sMGWRDcKYHBKgz7xK+M9uHGC7mPZF/2jKnD/KMj2lk4Lgh4W8qk3Eka4C5+R6SeG
	kjkKfMsX2BBrIQUEy9c96froXWcv38VXq0PxmN0r/L5x90g7yqA9n2wKHP3lUoSp
	ppy4XY5tzsurtaibQFVnX3oAZBFk3o1NL//Md0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; s=default; bh=TeqMdr2sgx8
	hzftMZYV2Afk+bfQ=; b=oT43FUyC1NI8Wftf/lE5xIjnCrbZiW8XeFv2AuJXbg6
	lo/ctI8MKmPUVBE++Uzhiu1pIlAQ+sYQ9dyqfqJvw0VnzwH5ucE9+/RwXwAF6aWj
	stPoL5r3WjgP7YL4qdgS/MH/Ax36cmCeBRNRGGKda6Xp7itslWTMuNbcaRXosNo4
	=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=localize, Cygwinrelated, Localize, cygwin-related
X-HELO: mail-in-10.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-17.arcor-online.net 3qdxNF5qyFzXrG
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: How to install a custom permanent postinstall handler?
References: <838469265.20160401235308@yandex.ru>	<87a8lcicxg.fsf@Rainer.invalid> <5700975A.3070002@cygwin.com>	<87y48vqkfx.fsf@Rainer.invalid> <57015B97.3010401@cygwin.com>	<1564992119.20160404020533@yandex.ru>
Date: Mon, 04 Apr 2016 17:53:14 +0200
In-Reply-To: <1564992119.20160404020533@yandex.ru> (Andrey Repin's message of	"Mon, 4 Apr 2016 02:05:33 +0300")
Message-ID: <8760vxjrpx.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain

Andrey Repin writes:
> I agree, of course, but in this case, I have to ask one not strictly
> Cygwin-related question:
> Is 'local -' a POSIX construct and/or is there a way to achieve the same
> effect without using it? (Localize any shell option changes within a
> function.)

No.  See my reply elsewhere in this thread that provides a link to
Stackoverflow with several options for workarounds.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

