From: Jeff King Date: Thu, 09 Nov 2023 07:35:17 GMT Subject: Re: [PATCH v3 3/3] t9164: fix inability to find basename(1) in Subversion hooks Message-ID: <20231109073517.GB2698227@coredump.intra.peff.net> In-Reply-To: <6891e2541552073c6827d81d2b761252f253bea2.1699513524.git.ps@pks.im> On Thu, Nov 09, 2023 at 08:10:01AM +0100, Patrick Steinhardt wrote: > + # Subversion hooks run with an empty environment by default. We thus > + # need to propagate PATH so that we can find executables. > + cat >"$rawsvnrepo/conf/hooks-env" <<-EOF > + [default] > + PATH = ${PATH} > + EOF This is so much less ugly than the shell shenanigans discussed in the earlier round. Thanks for finding it. :) The ${PATH} here is interpolated by the here-doc. I guess it's possible somebody's exotic PATH could break the svn conf syntax, but it's probably not worth worrying about. -Peff